Package com.ngrok.definitions
Class HttpsEdgeRoute
java.lang.Object
com.ngrok.definitions.HttpsEdgeRoute
A class encapsulating the
HttpsEdgeRoute
resource.-
Constructor Summary
ConstructorDescriptionHttpsEdgeRoute
(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 TypeMethodDescriptionboolean
backend module configuration ornull
circuit breaker module configuration ornull
compression module configuration ornull
timestamp 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 ornull
getMatch()
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 ornull
getOidc()
oidc module configuration ornull
request headers module configuration ornull
response headers module configuration ornull
getSaml()
saml module configuration ornull
getUri()
URI of the edge API resourcewebhook verification module configuration ornull
websocket to tcp adapter configuration ornull
int
hashCode()
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 ornull
ipRestriction
- ip restriction module configuration ornull
circuitBreaker
- circuit breaker module configuration ornull
compression
- compression module configuration ornull
requestHeaders
- request headers module configuration ornull
responseHeaders
- response headers module configuration ornull
webhookVerification
- webhook verification module configuration ornull
oauth
- oauth module configuration ornull
saml
- saml module configuration ornull
oidc
- oidc module configuration ornull
websocketTcpConverter
- 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
EndpointBackend
wrapped in anOptional
-
getIpRestriction
ip restriction module configuration ornull
- Returns:
- the value of the property as a
EndpointIpPolicy
wrapped in anOptional
-
getCircuitBreaker
circuit breaker module configuration ornull
- Returns:
- the value of the property as a
EndpointCircuitBreaker
wrapped in anOptional
-
getCompression
compression module configuration ornull
- Returns:
- the value of the property as a
EndpointCompression
wrapped in anOptional
-
getRequestHeaders
request headers module configuration ornull
- Returns:
- the value of the property as a
EndpointRequestHeaders
wrapped in anOptional
-
getResponseHeaders
response headers module configuration ornull
- Returns:
- the value of the property as a
EndpointResponseHeaders
wrapped in anOptional
-
getWebhookVerification
webhook verification module configuration ornull
- Returns:
- the value of the property as a
EndpointWebhookValidation
wrapped in anOptional
-
getOauth
oauth module configuration ornull
- Returns:
- the value of the property as a
EndpointOAuth
wrapped in anOptional
-
getSaml
saml module configuration ornull
- Returns:
- the value of the property as a
EndpointSaml
wrapped in anOptional
-
getOidc
oidc module configuration ornull
- Returns:
- the value of the property as a
EndpointOidc
wrapped in anOptional
-
getWebsocketTcpConverter
websocket to tcp adapter configuration ornull
- Returns:
- the value of the property as a
EndpointWebsocketTcpConverter
wrapped in anOptional
-
equals
-
hashCode
public int hashCode() -
toString
-