Package com.ngrok.definitions
Class EndpointMutualTls
java.lang.Object
com.ngrok.definitions.EndpointMutualTls
A class encapsulating the
EndpointMutualTls resource.-
Constructor Summary
ConstructorsConstructorDescriptionEndpointMutualTls(Optional<Boolean> enabled, List<Ref> certificateAuthorities) Creates a new instance ofEndpointMutualTls. -
Method Summary
-
Constructor Details
-
EndpointMutualTls
Creates a new instance ofEndpointMutualTls.- Parameters:
enabled-trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecifiedcertificateAuthorities- PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.
-
-
Method Details
-
getEnabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Returns:
- the value of the property as a
booleanwrapped in anOptional
-
getCertificateAuthorities
PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together. -
equals
-
hashCode
public int hashCode() -
toString
-