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 theEndpointMutualTlsMutateinstance.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) trueif the module will be applied to traffic,falseto disable.trueif the module will be applied to traffic,falseto disable.
-
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
-
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 theEndpointMutualTlsMutateinstance.- Returns:
- a new
EndpointMutualTlsMutate
-