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 theEndpointBackendMutate
instance.enabled
(boolean enabled) true
if the module will be applied to traffic,false
to disable.true
if the module will be applied to traffic,false
to disable.
-
Method Details
-
enabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Parameters:
enabled
- the value of theenabled
parameter as aboolean
- Returns:
- this builder instance
-
enabled
true
if the module will be applied to traffic,false
to disable. defaulttrue
if unspecified- Parameters:
enabled
- the value of theenabled
parameter as aboolean
, wrapped in anOptional
- Returns:
- this builder instance
-
backendId
backend to be used to back this endpoint- Parameters:
backendId
- the value of thebackend_id
parameter as aString
- Returns:
- this builder instance
-
backendId
backend to be used to back this endpoint -
build
Constructs theEndpointBackendMutate
instance.- Returns:
- a new
EndpointBackendMutate
-