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 theEndpointTlsTerminationAtEdgeinstance.enabled(boolean enabled) trueif the module will be applied to traffic,falseto disable.trueif the module will be applied to traffic,falseto 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
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Parameters:
enabled- the value of theenabledparameter as aboolean- Returns:
- this builder instance
-
enabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Parameters:
enabled- the value of theenabledparameter 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_atis set toupstream.- Parameters:
minVersion- the value of themin_versionparameter 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_atis set toupstream. -
build
Constructs theEndpointTlsTerminationAtEdgeinstance.- Returns:
- a new
EndpointTlsTerminationAtEdge
-