Package com.ngrok.definitions
Class TlsEdge
java.lang.Object
com.ngrok.definitions.TlsEdge
A class encapsulating the
TlsEdge
resource.-
Constructor Summary
ConstructorsConstructorDescriptionTlsEdge
(String id, String description, String metadata, OffsetDateTime createdAt, URI uri, Optional<List<String>> hostports, Optional<EndpointBackend> backend, Optional<EndpointIpPolicy> ipRestriction, Optional<EndpointMutualTls> mutualTls, Optional<EndpointTlsTermination> tlsTermination) Creates a new instance ofTlsEdge
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
edge modulestimestamp when the edge configuration was created, RFC 3339 formathuman-readable description of what this edge will be used for; optional, max 255 bytes.hostports served by this edgegetId()
unique identifier of this edgeFetches the value of theipRestriction
property.arbitrary user-defined machine-readable data of this edge.Fetches the value of themutualTls
property.Fetches the value of thetlsTermination
property.getUri()
URI of the edge API resourceint
hashCode()
toString()
-
Constructor Details
-
TlsEdge
public TlsEdge(String id, String description, String metadata, OffsetDateTime createdAt, URI uri, Optional<List<String>> hostports, Optional<EndpointBackend> backend, Optional<EndpointIpPolicy> ipRestriction, Optional<EndpointMutualTls> mutualTls, Optional<EndpointTlsTermination> tlsTermination) Creates a new instance ofTlsEdge
.- Parameters:
id
- unique identifier of this edgedescription
- human-readable description of what this edge will be used for; optional, max 255 bytes.metadata
- arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.createdAt
- timestamp when the edge configuration was created, RFC 3339 formaturi
- URI of the edge API resourcehostports
- hostports served by this edgebackend
- edge modulesipRestriction
- the value of theip_restriction
parameter as aEndpointIpPolicy
mutualTls
- the value of themutual_tls
parameter as aEndpointMutualTls
tlsTermination
- the value of thetls_termination
parameter as aEndpointTlsTermination
-
-
Method Details
-
getId
unique identifier of this edge- Returns:
- the value of the property as a
String
-
getDescription
human-readable description of what this edge will be used for; optional, max 255 bytes.- Returns:
- the value of the property as a
String
-
getMetadata
arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.- Returns:
- the value of the property as a
String
-
getCreatedAt
timestamp when the edge configuration was created, RFC 3339 format- Returns:
- the value of the property as a
OffsetDateTime
-
getUri
URI of the edge API resource- Returns:
- the value of the property as a
URI
-
getHostports
hostports served by this edge -
getBackend
edge modules- Returns:
- the value of the property as a
EndpointBackend
wrapped in anOptional
-
getIpRestriction
Fetches the value of theipRestriction
property.- Returns:
- the value of the property as a
EndpointIpPolicy
wrapped in anOptional
-
getMutualTls
Fetches the value of themutualTls
property.- Returns:
- the value of the property as a
EndpointMutualTls
wrapped in anOptional
-
getTlsTermination
Fetches the value of thetlsTermination
property.- Returns:
- the value of the property as a
EndpointTlsTermination
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-