Package com.ngrok.definitions
Class EndpointIpPolicyMutate.Builder
java.lang.Object
com.ngrok.definitions.EndpointIpPolicyMutate.Builder
- Enclosing class:
- EndpointIpPolicyMutate
Builder class for
EndpointIpPolicyMutate
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Constructs theEndpointIpPolicyMutate
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.ipPolicyIds
(List<String> ipPolicyIds) list of all IP policies that will be used to check if a source IP is allowed access to the endpointipPolicyIds
(Optional<List<String>> ipPolicyIds) list of all IP policies that will be used to check if a source IP is allowed access to the endpoint
-
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
-
ipPolicyIds
list of all IP policies that will be used to check if a source IP is allowed access to the endpoint -
ipPolicyIds
list of all IP policies that will be used to check if a source IP is allowed access to the endpoint -
build
Constructs theEndpointIpPolicyMutate
instance.- Returns:
- a new
EndpointIpPolicyMutate
-