Class EndpointMutualTls

java.lang.Object
com.ngrok.definitions.EndpointMutualTls

public class EndpointMutualTls extends Object
A class encapsulating the EndpointMutualTls resource.
  • Constructor Details

    • EndpointMutualTls

      public EndpointMutualTls(Optional<Boolean> enabled, List<Ref> certificateAuthorities)
      Creates a new instance of EndpointMutualTls.
      Parameters:
      enabled - true if the module will be applied to traffic, false to disable. default true if unspecified
      certificateAuthorities - PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.
  • Method Details

    • getEnabled

      public Optional<Boolean> getEnabled()
      true if the module will be applied to traffic, false to disable. default true if unspecified
      Returns:
      the value of the property as a boolean wrapped in an Optional
    • getCertificateAuthorities

      public List<Ref> getCertificateAuthorities()
      PEM-encoded CA certificates that will be used to validate. Multiple CAs may be provided by concatenating them together.
      Returns:
      the value of the property as a List of Ref
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object