Class TlsEdge

java.lang.Object
com.ngrok.definitions.TlsEdge

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

  • Method Details

    • getId

      public String getId()
      unique identifier of this edge
      Returns:
      the value of the property as a String
    • getDescription

      public String getDescription()
      human-readable description of what this edge will be used for; optional, max 255 bytes.
      Returns:
      the value of the property as a String
    • getMetadata

      public String getMetadata()
      arbitrary user-defined machine-readable data of this edge. Optional, max 4096 bytes.
      Returns:
      the value of the property as a String
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      timestamp when the edge configuration was created, RFC 3339 format
      Returns:
      the value of the property as a OffsetDateTime
    • getUri

      public URI getUri()
      URI of the edge API resource
      Returns:
      the value of the property as a URI
    • getHostports

      public Optional<List<String>> getHostports()
      hostports served by this edge
      Returns:
      the value of the property as a List of String wrapped in an Optional
    • getBackend

      public Optional<EndpointBackend> getBackend()
      edge modules
      Returns:
      the value of the property as a EndpointBackend wrapped in an Optional
    • getIpRestriction

      public Optional<EndpointIpPolicy> getIpRestriction()
      Fetches the value of the ipRestriction property.
      Returns:
      the value of the property as a EndpointIpPolicy wrapped in an Optional
    • getMutualTls

      public Optional<EndpointMutualTls> getMutualTls()
      Fetches the value of the mutualTls property.
      Returns:
      the value of the property as a EndpointMutualTls wrapped in an Optional
    • getTlsTermination

      public Optional<EndpointTlsTermination> getTlsTermination()
      Fetches the value of the tlsTermination property.
      Returns:
      the value of the property as a EndpointTlsTermination wrapped in an Optional
    • 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