Package com.ngrok.definitions
Class EndpointMutualTlsMutate.Builder
java.lang.Object
com.ngrok.definitions.EndpointMutualTlsMutate.Builder
- Enclosing class:
- EndpointMutualTlsMutate
Builder class for
EndpointMutualTlsMutate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Constructs theEndpointMutualTlsMutate
instance.certificateAuthorityIds
(List<String> certificateAuthorityIds) list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connectioncertificateAuthorityIds
(Optional<List<String>> certificateAuthorityIds) list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connectionenabled
(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.
-
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
-
certificateAuthorityIds
public EndpointMutualTlsMutate.Builder certificateAuthorityIds(List<String> certificateAuthorityIds) list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connection -
certificateAuthorityIds
public EndpointMutualTlsMutate.Builder certificateAuthorityIds(Optional<List<String>> certificateAuthorityIds) list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connection -
build
Constructs theEndpointMutualTlsMutate
instance.- Returns:
- a new
EndpointMutualTlsMutate
-