Class NetworkfirewallFirewallConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkfirewall_firewall.NetworkfirewallFirewallConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkfirewallFirewallConfig>
- Enclosing interface:
- NetworkfirewallFirewallConfig
@Stability(Stable) public static final class NetworkfirewallFirewallConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkfirewallFirewallConfig>
A builder forNetworkfirewallFirewallConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
firewallPolicyArn
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder firewallPolicyArn(String firewallPolicyArn)
Sets the value ofNetworkfirewallFirewallConfig.getFirewallPolicyArn()- Parameters:
firewallPolicyArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_arn NetworkfirewallFirewall#firewall_policy_arn}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder name(String name)
Sets the value ofNetworkfirewallFirewallConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#name NetworkfirewallFirewall#name}. This parameter is required.- Returns:
this
-
subnetMapping
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder subnetMapping(com.hashicorp.cdktf.IResolvable subnetMapping)
Sets the value ofNetworkfirewallFirewallConfig.getSubnetMapping()- Parameters:
subnetMapping- subnet_mapping block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_mapping NetworkfirewallFirewall#subnet_mapping}- Returns:
this
-
subnetMapping
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder subnetMapping(List<? extends NetworkfirewallFirewallSubnetMapping> subnetMapping)
Sets the value ofNetworkfirewallFirewallConfig.getSubnetMapping()- Parameters:
subnetMapping- subnet_mapping block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_mapping NetworkfirewallFirewall#subnet_mapping}- Returns:
this
-
vpcId
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder vpcId(String vpcId)
Sets the value ofNetworkfirewallFirewallConfig.getVpcId()- Parameters:
vpcId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#vpc_id NetworkfirewallFirewall#vpc_id}. This parameter is required.- Returns:
this
-
deleteProtection
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder deleteProtection(Boolean deleteProtection)
Sets the value ofNetworkfirewallFirewallConfig.getDeleteProtection()- Parameters:
deleteProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#delete_protection NetworkfirewallFirewall#delete_protection}.- Returns:
this
-
deleteProtection
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder deleteProtection(com.hashicorp.cdktf.IResolvable deleteProtection)
Sets the value ofNetworkfirewallFirewallConfig.getDeleteProtection()- Parameters:
deleteProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#delete_protection NetworkfirewallFirewall#delete_protection}.- Returns:
this
-
description
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder description(String description)
Sets the value ofNetworkfirewallFirewallConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#description NetworkfirewallFirewall#description}.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder encryptionConfiguration(NetworkfirewallFirewallEncryptionConfiguration encryptionConfiguration)
Sets the value ofNetworkfirewallFirewallConfig.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- encryption_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#encryption_configuration NetworkfirewallFirewall#encryption_configuration}- Returns:
this
-
firewallPolicyChangeProtection
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder firewallPolicyChangeProtection(Boolean firewallPolicyChangeProtection)
Sets the value ofNetworkfirewallFirewallConfig.getFirewallPolicyChangeProtection()- Parameters:
firewallPolicyChangeProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_change_protection NetworkfirewallFirewall#firewall_policy_change_protection}.- Returns:
this
-
firewallPolicyChangeProtection
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder firewallPolicyChangeProtection(com.hashicorp.cdktf.IResolvable firewallPolicyChangeProtection)
Sets the value ofNetworkfirewallFirewallConfig.getFirewallPolicyChangeProtection()- Parameters:
firewallPolicyChangeProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#firewall_policy_change_protection NetworkfirewallFirewall#firewall_policy_change_protection}.- Returns:
this
-
id
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder id(String id)
Sets the value ofNetworkfirewallFirewallConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#id NetworkfirewallFirewall#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
subnetChangeProtection
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder subnetChangeProtection(Boolean subnetChangeProtection)
Sets the value ofNetworkfirewallFirewallConfig.getSubnetChangeProtection()- Parameters:
subnetChangeProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_change_protection NetworkfirewallFirewall#subnet_change_protection}.- Returns:
this
-
subnetChangeProtection
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder subnetChangeProtection(com.hashicorp.cdktf.IResolvable subnetChangeProtection)
Sets the value ofNetworkfirewallFirewallConfig.getSubnetChangeProtection()- Parameters:
subnetChangeProtection- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_change_protection NetworkfirewallFirewall#subnet_change_protection}.- Returns:
this
-
tags
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder tags(Map<String,String> tags)
Sets the value ofNetworkfirewallFirewallConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags NetworkfirewallFirewall#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public NetworkfirewallFirewallConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofNetworkfirewallFirewallConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags_all NetworkfirewallFirewall#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkfirewallFirewallConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkfirewallFirewallConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkfirewallFirewallConfig>- Returns:
- a new instance of
NetworkfirewallFirewallConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-