Package com.ngrok.definitions
Class HttpsEdge
java.lang.Object
com.ngrok.definitions.HttpsEdge
A class encapsulating the
HttpsEdge resource.-
Constructor Summary
ConstructorsConstructorDescriptionHttpsEdge(String id, String description, String metadata, OffsetDateTime createdAt, URI uri, Optional<List<String>> hostports, Optional<EndpointMutualTls> mutualTls, Optional<EndpointTlsTermination> tlsTermination, List<HttpsEdgeRoute> routes) Creates a new instance ofHttpsEdge. -
Method Summary
Modifier and TypeMethodDescriptionbooleantimestamp 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 edgearbitrary user-defined machine-readable data of this edge; optional, max 4096 bytes.edge modulesroutesFetches the value of thetlsTerminationproperty.getUri()URI of the edge API resourceinthashCode()toString()
-
Constructor Details
-
HttpsEdge
public HttpsEdge(String id, String description, String metadata, OffsetDateTime createdAt, URI uri, Optional<List<String>> hostports, Optional<EndpointMutualTls> mutualTls, Optional<EndpointTlsTermination> tlsTermination, List<HttpsEdgeRoute> routes) Creates a new instance ofHttpsEdge.- 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 edgemutualTls- edge modulestlsTermination- the value of thetls_terminationparameter as aEndpointTlsTerminationroutes- routes
-
-
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 -
getMutualTls
edge modules- Returns:
- the value of the property as a
EndpointMutualTlswrapped in anOptional
-
getTlsTermination
Fetches the value of thetlsTerminationproperty.- Returns:
- the value of the property as a
EndpointTlsTerminationwrapped in anOptional
-
getRoutes
routes- Returns:
- the value of the property as a
ListofHttpsEdgeRoute
-
equals
-
hashCode
public int hashCode() -
toString
-