Package com.ngrok.definitions
Class EndpointTlsTermination
java.lang.Object
com.ngrok.definitions.EndpointTlsTermination
A class encapsulating the
EndpointTlsTermination resource.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleantrueif the module will be applied to traffic,falseto disable.The minimum TLS version used for termination and advertised to the client during the TLS handshake.edgeif the ngrok edge should terminate TLS traffic,upstreamif TLS traffic should be passed through to the upstream ngrok agent / application server for termination.inthashCode()Creates a new builder for theEndpointTlsTerminationtype.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointTlsTerminationtype.- Returns:
- a new
EndpointTlsTermination.Builder
-
getEnabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Returns:
- the value of the property as a
booleanwrapped in anOptional
-
getTerminateAt
edgeif the ngrok edge should terminate TLS traffic,upstreamif TLS traffic should be passed through to the upstream ngrok agent / application server for termination. ifupstreamis chosen, most other modules will be disallowed because they rely on the ngrok edge being able to access the underlying traffic.- Returns:
- the value of the property as a
String
-
getMinVersion
The minimum TLS version used for termination and advertised to the client during the TLS handshake. if unspecified, ngrok will choose an industry-safe default. This value must be null ifterminate_atis set toupstream. -
equals
-
hashCode
public int hashCode() -
toString
-