Class EndpointLoggingMutate.Builder

java.lang.Object
com.ngrok.definitions.EndpointLoggingMutate.Builder
Enclosing class:
EndpointLoggingMutate

public static class EndpointLoggingMutate.Builder extends Object
Builder class for EndpointLoggingMutate.
  • Method Details

    • enabled

      public EndpointLoggingMutate.Builder enabled(boolean enabled)
      true if the module will be applied to traffic, false to disable. default true if unspecified
      Parameters:
      enabled - the value of the enabled parameter as a boolean
      Returns:
      this builder instance
    • enabled

      public EndpointLoggingMutate.Builder enabled(Optional<Boolean> enabled)
      true if the module will be applied to traffic, false to disable. default true if unspecified
      Parameters:
      enabled - the value of the enabled parameter as a boolean, wrapped in an Optional
      Returns:
      this builder instance
    • eventStreamIds

      public EndpointLoggingMutate.Builder eventStreamIds(List<String> eventStreamIds)
      list of all EventStreams that will be used to configure and export this endpoint's logs
      Parameters:
      eventStreamIds - the value of the event_stream_ids parameter as a List<String>
      Returns:
      this builder instance
    • eventStreamIds

      public EndpointLoggingMutate.Builder eventStreamIds(Optional<List<String>> eventStreamIds)
      list of all EventStreams that will be used to configure and export this endpoint's logs
      Parameters:
      eventStreamIds - the value of the event_stream_ids parameter as a List<String>, wrapped in an Optional
      Returns:
      this builder instance
    • build

      public EndpointLoggingMutate build()
      Constructs the EndpointLoggingMutate instance.
      Returns:
      a new EndpointLoggingMutate