Class EndpointLogging

java.lang.Object
com.ngrok.definitions.EndpointLogging

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

    • EndpointLogging

      public EndpointLogging(Optional<Boolean> enabled, List<Ref> eventStreams)
      Creates a new instance of EndpointLogging.
      Parameters:
      enabled - true if the module will be applied to traffic, false to disable. default true if unspecified
      eventStreams - list of all EventStreams that will be used to configure and export this endpoint's logs
  • 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
    • getEventStreams

      public List<Ref> getEventStreams()
      list of all EventStreams that will be used to configure and export this endpoint's logs
      Returns:
      the value of the property as a List<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