Package com.ngrok.definitions
Class HttpsEdgeRoute
java.lang.Object
com.ngrok.definitions.HttpsEdgeRoute
A class encapsulating the
HttpsEdgeRoute resource.-
Constructor Summary
ConstructorsConstructorDescriptionHttpsEdgeRoute(String edgeId, String id, OffsetDateTime createdAt, String matchType, String match, URI uri, String description, String metadata, Optional<EndpointBackend> backend, Optional<EndpointIpPolicy> ipRestriction, Optional<EndpointCircuitBreaker> circuitBreaker, Optional<EndpointCompression> compression, Optional<EndpointRequestHeaders> requestHeaders, Optional<EndpointResponseHeaders> responseHeaders, Optional<EndpointWebhookValidation> webhookVerification, Optional<EndpointOAuth> oauth, Optional<EndpointSaml> saml, Optional<EndpointOidc> oidc, Optional<EndpointWebsocketTcpConverter> websocketTcpConverter) Creates a new instance ofHttpsEdgeRoute. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbackend module configuration ornullcircuit breaker module configuration ornullcompression module configuration ornulltimestamp when the edge configuration was created, RFC 3339 formathuman-readable description of what this edge will be used for; optional, max 255 bytes.unique identifier of this edgegetId()unique identifier of this edge routeip restriction module configuration ornullgetMatch()Route selector: "/blog" or "example.com" or "example.com/blog"Type of match to use for this route.arbitrary user-defined machine-readable data of this edge.getOauth()oauth module configuration ornullgetOidc()oidc module configuration ornullrequest headers module configuration ornullresponse headers module configuration ornullgetSaml()saml module configuration ornullgetUri()URI of the edge API resourcewebhook verification module configuration ornullwebsocket to tcp adapter configuration ornullinthashCode()toString()
-
Constructor Details
-
HttpsEdgeRoute
public HttpsEdgeRoute(String edgeId, String id, OffsetDateTime createdAt, String matchType, String match, URI uri, String description, String metadata, Optional<EndpointBackend> backend, Optional<EndpointIpPolicy> ipRestriction, Optional<EndpointCircuitBreaker> circuitBreaker, Optional<EndpointCompression> compression, Optional<EndpointRequestHeaders> requestHeaders, Optional<EndpointResponseHeaders> responseHeaders, Optional<EndpointWebhookValidation> webhookVerification, Optional<EndpointOAuth> oauth, Optional<EndpointSaml> saml, Optional<EndpointOidc> oidc, Optional<EndpointWebsocketTcpConverter> websocketTcpConverter) Creates a new instance ofHttpsEdgeRoute.- Parameters:
edgeId- unique identifier of this edgeid- unique identifier of this edge routecreatedAt- timestamp when the edge configuration was created, RFC 3339 formatmatchType- Type of match to use for this route. Valid values are "exact_path" and "path_prefix".match- Route selector: "/blog" or "example.com" or "example.com/blog"uri- URI of the edge API resourcedescription- 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.backend- backend module configuration ornullipRestriction- ip restriction module configuration ornullcircuitBreaker- circuit breaker module configuration ornullcompression- compression module configuration ornullrequestHeaders- request headers module configuration ornullresponseHeaders- response headers module configuration ornullwebhookVerification- webhook verification module configuration ornulloauth- oauth module configuration ornullsaml- saml module configuration ornulloidc- oidc module configuration ornullwebsocketTcpConverter- websocket to tcp adapter configuration ornull
-
-
Method Details
-
getEdgeId
unique identifier of this edge- Returns:
- the value of the property as a
String
-
getId
unique identifier of this edge route- 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
-
getMatchType
Type of match to use for this route. Valid values are "exact_path" and "path_prefix".- Returns:
- the value of the property as a
String
-
getMatch
Route selector: "/blog" or "example.com" or "example.com/blog"- Returns:
- the value of the property as a
String
-
getUri
URI of the edge API resource- Returns:
- the value of the property as a
URI
-
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
-
getBackend
backend module configuration ornull- Returns:
- the value of the property as a
EndpointBackendwrapped in anOptional
-
getIpRestriction
ip restriction module configuration ornull- Returns:
- the value of the property as a
EndpointIpPolicywrapped in anOptional
-
getCircuitBreaker
circuit breaker module configuration ornull- Returns:
- the value of the property as a
EndpointCircuitBreakerwrapped in anOptional
-
getCompression
compression module configuration ornull- Returns:
- the value of the property as a
EndpointCompressionwrapped in anOptional
-
getRequestHeaders
request headers module configuration ornull- Returns:
- the value of the property as a
EndpointRequestHeaderswrapped in anOptional
-
getResponseHeaders
response headers module configuration ornull- Returns:
- the value of the property as a
EndpointResponseHeaderswrapped in anOptional
-
getWebhookVerification
webhook verification module configuration ornull- Returns:
- the value of the property as a
EndpointWebhookValidationwrapped in anOptional
-
getOauth
oauth module configuration ornull- Returns:
- the value of the property as a
EndpointOAuthwrapped in anOptional
-
getSaml
saml module configuration ornull- Returns:
- the value of the property as a
EndpointSamlwrapped in anOptional
-
getOidc
oidc module configuration ornull- Returns:
- the value of the property as a
EndpointOidcwrapped in anOptional
-
getWebsocketTcpConverter
websocket to tcp adapter configuration ornull- Returns:
- the value of the property as a
EndpointWebsocketTcpConverterwrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-