Class NetworkfirewallFirewallSubnetMapping.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkfirewall_firewall.NetworkfirewallFirewallSubnetMapping.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkfirewallFirewallSubnetMapping>
- Enclosing interface:
- NetworkfirewallFirewallSubnetMapping
@Stability(Stable) public static final class NetworkfirewallFirewallSubnetMapping.Builder extends Object implements software.amazon.jsii.Builder<NetworkfirewallFirewallSubnetMapping>
A builder forNetworkfirewallFirewallSubnetMapping
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkfirewallFirewallSubnetMappingbuild()Builds the configured instance.NetworkfirewallFirewallSubnetMapping.BuilderipAddressType(String ipAddressType)Sets the value ofNetworkfirewallFirewallSubnetMapping.getIpAddressType()NetworkfirewallFirewallSubnetMapping.BuildersubnetId(String subnetId)Sets the value ofNetworkfirewallFirewallSubnetMapping.getSubnetId()
-
-
-
Method Detail
-
subnetId
@Stability(Stable) public NetworkfirewallFirewallSubnetMapping.Builder subnetId(String subnetId)
Sets the value ofNetworkfirewallFirewallSubnetMapping.getSubnetId()- Parameters:
subnetId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_id NetworkfirewallFirewall#subnet_id}. This parameter is required.- Returns:
this
-
ipAddressType
@Stability(Stable) public NetworkfirewallFirewallSubnetMapping.Builder ipAddressType(String ipAddressType)
Sets the value ofNetworkfirewallFirewallSubnetMapping.getIpAddressType()- Parameters:
ipAddressType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#ip_address_type NetworkfirewallFirewall#ip_address_type}.- Returns:
this
-
build
@Stability(Stable) public NetworkfirewallFirewallSubnetMapping build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkfirewallFirewallSubnetMapping>- Returns:
- a new instance of
NetworkfirewallFirewallSubnetMapping - Throws:
NullPointerException- if any required attribute was not provided
-
-