Class NatConfigurationResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.networkfirewall.model.NatConfigurationResponse.Builder
-
- Enclosing class:
- NatConfigurationResponse
public static class NatConfigurationResponse.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NatConfigurationResponse
build()
NatConfigurationResponse.Builder
copy(NatConfigurationResponse model)
NatConfigurationResponse.Builder
mustEnablePrivateNat(Boolean mustEnablePrivateNat)
To allocate private NAT IPs to the firewall.NatConfigurationResponse.Builder
natIpAddressList(List<String> natIpAddressList)
An array of NAT IP addresses that are associated with the Network Firewall.
-
-
-
Method Detail
-
mustEnablePrivateNat
public NatConfigurationResponse.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.
- Parameters:
mustEnablePrivateNat
- the value to set- Returns:
- this builder
-
natIpAddressList
public NatConfigurationResponse.Builder natIpAddressList(List<String> natIpAddressList)
An array of NAT IP addresses that are associated with the Network Firewall.These IPs are reserved for NAT and shouldn’t be used for any other purpose in the subnet.
- Parameters:
natIpAddressList
- the value to set- Returns:
- this builder
-
build
public NatConfigurationResponse build()
-
copy
public NatConfigurationResponse.Builder copy(NatConfigurationResponse model)
-
-