Class NatConfigurationRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.NatConfigurationRequest.Builder
-
- Enclosing class:
- NatConfigurationRequest
public static class NatConfigurationRequest.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NatConfigurationRequest
build()
NatConfigurationRequest.Builder
copy(NatConfigurationRequest model)
NatConfigurationRequest.Builder
mustEnablePrivateNat(Boolean mustEnablePrivateNat)
To allocate private NAT IPs to the firewall.
-
-
-
Method Detail
-
mustEnablePrivateNat
public NatConfigurationRequest.Builder mustEnablePrivateNat(Boolean mustEnablePrivateNat)
To allocate private NAT IPs to the firewall.The attached network firewall policy must also have NAT rules to enable NAT on any traffic passing through the firewall. The value of this field can not be false to release the NAT IPs given that the attached network firewall policy does not contains any NAT rules. The value of this field should be set to true if the network firewall policy being applied contains NAT rules.
- Parameters:
mustEnablePrivateNat
- the value to set- Returns:
- this builder
-
build
public NatConfigurationRequest build()
-
copy
public NatConfigurationRequest.Builder copy(NatConfigurationRequest model)
-
-