Package com.ngrok.definitions
Class EndpointLoggingMutate.Builder
java.lang.Object
com.ngrok.definitions.EndpointLoggingMutate.Builder
- Enclosing class:
- EndpointLoggingMutate
Builder class for
EndpointLoggingMutate.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs theEndpointLoggingMutateinstance.enabled(boolean enabled)trueif the module will be applied to traffic,falseto disable.trueif the module will be applied to traffic,falseto disable.eventStreamIds(List<String> eventStreamIds)list of all EventStreams that will be used to configure and export this endpoint's logseventStreamIds(Optional<List<String>> eventStreamIds)list of all EventStreams that will be used to configure and export this endpoint's logs
-
Method Details
-
enabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Parameters:
enabled- the value of theenabledparameter as aboolean- Returns:
- this builder instance
-
enabled
trueif the module will be applied to traffic,falseto disable. defaulttrueif unspecified- Parameters:
enabled- the value of theenabledparameter as aboolean, wrapped in anOptional- Returns:
- this builder instance
-
eventStreamIds
list of all EventStreams that will be used to configure and export this endpoint's logs -
eventStreamIds
list of all EventStreams that will be used to configure and export this endpoint's logs -
build
Constructs theEndpointLoggingMutateinstance.- Returns:
- a new
EndpointLoggingMutate
-