Class NetworkfirewallFirewall.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkfirewall_firewall.NetworkfirewallFirewall.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkfirewallFirewall>
- Enclosing class:
- NetworkfirewallFirewall
@Stability(Stable) public static final class NetworkfirewallFirewall.Builder extends Object implements software.amazon.jsii.Builder<NetworkfirewallFirewall>
A fluent builder forNetworkfirewallFirewall.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkfirewallFirewallbuild()NetworkfirewallFirewall.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NetworkfirewallFirewall.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NetworkfirewallFirewall.Buildercount(com.hashicorp.cdktf.TerraformCount count)NetworkfirewallFirewall.Buildercount(Number count)static NetworkfirewallFirewall.Buildercreate(software.constructs.Construct scope, String id)NetworkfirewallFirewall.BuilderdeleteProtection(com.hashicorp.cdktf.IResolvable 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}.NetworkfirewallFirewall.BuilderdeleteProtection(Boolean 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}.NetworkfirewallFirewall.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NetworkfirewallFirewall.Builderdescription(String description)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#description NetworkfirewallFirewall#description}.NetworkfirewallFirewall.BuilderencryptionConfiguration(NetworkfirewallFirewallEncryptionConfiguration encryptionConfiguration)encryption_configuration block.NetworkfirewallFirewall.BuilderfirewallPolicyArn(String 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}.NetworkfirewallFirewall.BuilderfirewallPolicyChangeProtection(com.hashicorp.cdktf.IResolvable 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}.NetworkfirewallFirewall.BuilderfirewallPolicyChangeProtection(Boolean 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}.NetworkfirewallFirewall.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NetworkfirewallFirewall.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#id NetworkfirewallFirewall#id}.NetworkfirewallFirewall.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NetworkfirewallFirewall.Buildername(String name)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#name NetworkfirewallFirewall#name}.NetworkfirewallFirewall.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NetworkfirewallFirewall.Builderprovisioners(List<? extends Object> provisioners)NetworkfirewallFirewall.BuildersubnetChangeProtection(com.hashicorp.cdktf.IResolvable 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}.NetworkfirewallFirewall.BuildersubnetChangeProtection(Boolean 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}.NetworkfirewallFirewall.BuildersubnetMapping(com.hashicorp.cdktf.IResolvable subnetMapping)subnet_mapping block.NetworkfirewallFirewall.BuildersubnetMapping(List<? extends NetworkfirewallFirewallSubnetMapping> subnetMapping)subnet_mapping block.NetworkfirewallFirewall.Buildertags(Map<String,String> tags)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags NetworkfirewallFirewall#tags}.NetworkfirewallFirewall.BuildertagsAll(Map<String,String> 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}.NetworkfirewallFirewall.BuildervpcId(String 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}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NetworkfirewallFirewall.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
NetworkfirewallFirewall.Builder.
-
connection
@Stability(Experimental) public NetworkfirewallFirewall.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public NetworkfirewallFirewall.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetworkfirewallFirewall.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NetworkfirewallFirewall.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkfirewallFirewall.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkfirewallFirewall.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkfirewallFirewall.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public NetworkfirewallFirewall.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkfirewallFirewall.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
firewallPolicyArn
@Stability(Stable) public NetworkfirewallFirewall.Builder firewallPolicyArn(String 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}.- 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 NetworkfirewallFirewall.Builder name(String name)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#name NetworkfirewallFirewall#name}.- 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 NetworkfirewallFirewall.Builder subnetMapping(com.hashicorp.cdktf.IResolvable subnetMapping)
subnet_mapping block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_mapping NetworkfirewallFirewall#subnet_mapping}
- Parameters:
subnetMapping- subnet_mapping block. This parameter is required.- Returns:
this
-
subnetMapping
@Stability(Stable) public NetworkfirewallFirewall.Builder subnetMapping(List<? extends NetworkfirewallFirewallSubnetMapping> subnetMapping)
subnet_mapping block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#subnet_mapping NetworkfirewallFirewall#subnet_mapping}
- Parameters:
subnetMapping- subnet_mapping block. This parameter is required.- Returns:
this
-
vpcId
@Stability(Stable) public NetworkfirewallFirewall.Builder vpcId(String 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}.- 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 NetworkfirewallFirewall.Builder deleteProtection(Boolean 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}.- 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}. This parameter is required.- Returns:
this
-
deleteProtection
@Stability(Stable) public NetworkfirewallFirewall.Builder deleteProtection(com.hashicorp.cdktf.IResolvable 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}.- 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}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public NetworkfirewallFirewall.Builder description(String description)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#description NetworkfirewallFirewall#description}.- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#description NetworkfirewallFirewall#description}. This parameter is required.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public NetworkfirewallFirewall.Builder encryptionConfiguration(NetworkfirewallFirewallEncryptionConfiguration 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}
- Parameters:
encryptionConfiguration- encryption_configuration block. This parameter is required.- Returns:
this
-
firewallPolicyChangeProtection
@Stability(Stable) public NetworkfirewallFirewall.Builder firewallPolicyChangeProtection(Boolean 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}.- 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}. This parameter is required.- Returns:
this
-
firewallPolicyChangeProtection
@Stability(Stable) public NetworkfirewallFirewall.Builder firewallPolicyChangeProtection(com.hashicorp.cdktf.IResolvable 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}.- 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}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NetworkfirewallFirewall.Builder id(String 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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#id NetworkfirewallFirewall#id}. This parameter is required.- Returns:
this
-
subnetChangeProtection
@Stability(Stable) public NetworkfirewallFirewall.Builder subnetChangeProtection(Boolean 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}.- 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}. This parameter is required.- Returns:
this
-
subnetChangeProtection
@Stability(Stable) public NetworkfirewallFirewall.Builder subnetChangeProtection(com.hashicorp.cdktf.IResolvable 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}.- 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}. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public NetworkfirewallFirewall.Builder tags(Map<String,String> tags)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags NetworkfirewallFirewall#tags}.- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkfirewall_firewall#tags NetworkfirewallFirewall#tags}. This parameter is required.- Returns:
this
-
tagsAll
@Stability(Stable) public NetworkfirewallFirewall.Builder tagsAll(Map<String,String> 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}.- 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}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NetworkfirewallFirewall build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkfirewallFirewall>- Returns:
- a newly built instance of
NetworkfirewallFirewall.
-
-