Package com.ngrok.definitions
Class EndpointMutualTls
java.lang.Object
com.ngrok.definitions.EndpointMutualTls
A class encapsulating the
EndpointMutualTls
resource.-
Constructor Summary
ConstructorDescriptionEndpointMutualTls
(Optional<Boolean> enabled, List<Ref> certificateAuthorities) Creates a new instance ofEndpointMutualTls
. -
Method Summary
-
Constructor Details
-
EndpointMutualTls
Creates a new instance ofEndpointMutualTls
.- Parameters:
enabled
-true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecifiedcertificateAuthorities
- PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.
-
-
Method Details
-
getEnabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Returns:
- the value of the property as a
boolean
wrapped 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
-