Package com.ngrok.definitions
Class HttpsEdge
java.lang.Object
com.ngrok.definitions.HttpsEdge
A class encapsulating the
HttpsEdge
resource.-
Constructor Summary
ConstructorDescriptionHttpsEdge
(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 TypeMethodDescriptionboolean
timestamp 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 thetlsTermination
property.getUri()
URI of the edge API resourceint
hashCode()
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_termination
parameter as aEndpointTlsTermination
routes
- 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
EndpointMutualTls
wrapped in anOptional
-
getTlsTermination
Fetches the value of thetlsTermination
property.- Returns:
- the value of the property as a
EndpointTlsTermination
wrapped in anOptional
-
getRoutes
routes- Returns:
- the value of the property as a
List
ofHttpsEdgeRoute
-
equals
-
hashCode
public int hashCode() -
toString
-