Package com.ngrok.definitions
Class EndpointBackendMutate.Builder
java.lang.Object
com.ngrok.definitions.EndpointBackendMutate.Builder
- Enclosing class:
- EndpointBackendMutate
Builder class for
EndpointBackendMutate.-
Method Summary
Modifier and TypeMethodDescriptionbackend to be used to back this endpointbackend to be used to back this endpointbuild()Constructs theEndpointBackendMutateinstance.enabled(boolean enabled) trueif the module will be applied to traffic,falseto disable.trueif the module will be applied to traffic,falseto disable.
-
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
-
backendId
backend to be used to back this endpoint- Parameters:
backendId- the value of thebackend_idparameter as aString- Returns:
- this builder instance
-
backendId
backend to be used to back this endpoint -
build
Constructs theEndpointBackendMutateinstance.- Returns:
- a new
EndpointBackendMutate
-