Package com.ngrok.definitions
Class EndpointTlsTerminationAtEdge.Builder
java.lang.Object
com.ngrok.definitions.EndpointTlsTerminationAtEdge.Builder
- Enclosing class:
- EndpointTlsTerminationAtEdge
Builder class for
EndpointTlsTerminationAtEdge
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Constructs theEndpointTlsTerminationAtEdge
instance.enabled
(boolean enabled) true
if the module will be applied to traffic,false
to disable.true
if the module will be applied to traffic,false
to disable.minVersion
(String minVersion) The minimum TLS version used for termination and advertised to the client during the TLS handshake.minVersion
(Optional<String> minVersion) The minimum TLS version used for termination and advertised to the client during the TLS handshake.
-
Method Details
-
enabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Parameters:
enabled
- the value of theenabled
parameter as aboolean
- Returns:
- this builder instance
-
enabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Parameters:
enabled
- the value of theenabled
parameter as aboolean
, wrapped in anOptional
- Returns:
- this builder instance
-
minVersion
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
.- Parameters:
minVersion
- the value of themin_version
parameter as aString
- Returns:
- this builder instance
-
minVersion
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
. -
build
Constructs theEndpointTlsTerminationAtEdge
instance.- Returns:
- a new
EndpointTlsTerminationAtEdge
-