Package com.ngrok.definitions
Class EndpointTlsTermination
java.lang.Object
com.ngrok.definitions.EndpointTlsTermination
A class encapsulating the
EndpointTlsTermination
resource.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
true
if the module will be applied to traffic,false
to disable.The minimum TLS version used for termination and advertised to the client during the TLS handshake.edge
if the ngrok edge should terminate TLS traffic,upstream
if TLS traffic should be passed through to the upstream ngrok agent / application server for termination.int
hashCode()
Creates a new builder for theEndpointTlsTermination
type.toString()
-
Method Details
-
newBuilder
Creates a new builder for theEndpointTlsTermination
type.- Returns:
- a new
EndpointTlsTermination.Builder
-
getEnabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Returns:
- the value of the property as a
boolean
wrapped in anOptional
-
getTerminateAt
edge
if the ngrok edge should terminate TLS traffic,upstream
if TLS traffic should be passed through to the upstream ngrok agent / application server for termination. ifupstream
is 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_at
is set toupstream
. -
equals
-
hashCode
public int hashCode() -
toString
-