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 theEndpointIpPolicyMutateinstance.enabled(boolean enabled) trueif the module will be applied to traffic,falseto disable.trueif the module will be applied to traffic,falseto 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
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
-
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 theEndpointIpPolicyMutateinstance.- Returns:
- a new
EndpointIpPolicyMutate
-