Class DefaultVpcConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.default_vpc.DefaultVpcConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DefaultVpcConfig>
- Enclosing interface:
- DefaultVpcConfig
@Stability(Stable) public static final class DefaultVpcConfig.Builder extends Object implements software.amazon.jsii.Builder<DefaultVpcConfig>
A builder forDefaultVpcConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultVpcConfig.BuilderassignGeneratedIpv6CidrBlock(com.hashicorp.cdktf.IResolvable assignGeneratedIpv6CidrBlock)Sets the value ofDefaultVpcConfig.getAssignGeneratedIpv6CidrBlock()DefaultVpcConfig.BuilderassignGeneratedIpv6CidrBlock(Boolean assignGeneratedIpv6CidrBlock)Sets the value ofDefaultVpcConfig.getAssignGeneratedIpv6CidrBlock()DefaultVpcConfigbuild()Builds the configured instance.DefaultVpcConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DefaultVpcConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DefaultVpcConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DefaultVpcConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DefaultVpcConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DefaultVpcConfig.BuilderenableDnsHostnames(com.hashicorp.cdktf.IResolvable enableDnsHostnames)Sets the value ofDefaultVpcConfig.getEnableDnsHostnames()DefaultVpcConfig.BuilderenableDnsHostnames(Boolean enableDnsHostnames)Sets the value ofDefaultVpcConfig.getEnableDnsHostnames()DefaultVpcConfig.BuilderenableDnsSupport(com.hashicorp.cdktf.IResolvable enableDnsSupport)Sets the value ofDefaultVpcConfig.getEnableDnsSupport()DefaultVpcConfig.BuilderenableDnsSupport(Boolean enableDnsSupport)Sets the value ofDefaultVpcConfig.getEnableDnsSupport()DefaultVpcConfig.BuilderenableNetworkAddressUsageMetrics(com.hashicorp.cdktf.IResolvable enableNetworkAddressUsageMetrics)Sets the value ofDefaultVpcConfig.getEnableNetworkAddressUsageMetrics()DefaultVpcConfig.BuilderenableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)Sets the value ofDefaultVpcConfig.getEnableNetworkAddressUsageMetrics()DefaultVpcConfig.BuilderforceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)Sets the value ofDefaultVpcConfig.getForceDestroy()DefaultVpcConfig.BuilderforceDestroy(Boolean forceDestroy)Sets the value ofDefaultVpcConfig.getForceDestroy()DefaultVpcConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DefaultVpcConfig.Builderid(String id)Sets the value ofDefaultVpcConfig.getId()DefaultVpcConfig.Builderipv6CidrBlock(String ipv6CidrBlock)Sets the value ofDefaultVpcConfig.getIpv6CidrBlock()DefaultVpcConfig.Builderipv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup)Sets the value ofDefaultVpcConfig.getIpv6CidrBlockNetworkBorderGroup()DefaultVpcConfig.Builderipv6IpamPoolId(String ipv6IpamPoolId)Sets the value ofDefaultVpcConfig.getIpv6IpamPoolId()DefaultVpcConfig.Builderipv6NetmaskLength(Number ipv6NetmaskLength)Sets the value ofDefaultVpcConfig.getIpv6NetmaskLength()DefaultVpcConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DefaultVpcConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DefaultVpcConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DefaultVpcConfig.Buildertags(Map<String,String> tags)Sets the value ofDefaultVpcConfig.getTags()DefaultVpcConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofDefaultVpcConfig.getTagsAll()
-
-
-
Method Detail
-
assignGeneratedIpv6CidrBlock
@Stability(Stable) public DefaultVpcConfig.Builder assignGeneratedIpv6CidrBlock(Boolean assignGeneratedIpv6CidrBlock)
Sets the value ofDefaultVpcConfig.getAssignGeneratedIpv6CidrBlock()- Parameters:
assignGeneratedIpv6CidrBlock- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#assign_generated_ipv6_cidr_block DefaultVpc#assign_generated_ipv6_cidr_block}.- Returns:
this
-
assignGeneratedIpv6CidrBlock
@Stability(Stable) public DefaultVpcConfig.Builder assignGeneratedIpv6CidrBlock(com.hashicorp.cdktf.IResolvable assignGeneratedIpv6CidrBlock)
Sets the value ofDefaultVpcConfig.getAssignGeneratedIpv6CidrBlock()- Parameters:
assignGeneratedIpv6CidrBlock- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#assign_generated_ipv6_cidr_block DefaultVpc#assign_generated_ipv6_cidr_block}.- Returns:
this
-
enableDnsHostnames
@Stability(Stable) public DefaultVpcConfig.Builder enableDnsHostnames(Boolean enableDnsHostnames)
Sets the value ofDefaultVpcConfig.getEnableDnsHostnames()- Parameters:
enableDnsHostnames- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#enable_dns_hostnames DefaultVpc#enable_dns_hostnames}.- Returns:
this
-
enableDnsHostnames
@Stability(Stable) public DefaultVpcConfig.Builder enableDnsHostnames(com.hashicorp.cdktf.IResolvable enableDnsHostnames)
Sets the value ofDefaultVpcConfig.getEnableDnsHostnames()- Parameters:
enableDnsHostnames- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#enable_dns_hostnames DefaultVpc#enable_dns_hostnames}.- Returns:
this
-
enableDnsSupport
@Stability(Stable) public DefaultVpcConfig.Builder enableDnsSupport(Boolean enableDnsSupport)
Sets the value ofDefaultVpcConfig.getEnableDnsSupport()- Parameters:
enableDnsSupport- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#enable_dns_support DefaultVpc#enable_dns_support}.- Returns:
this
-
enableDnsSupport
@Stability(Stable) public DefaultVpcConfig.Builder enableDnsSupport(com.hashicorp.cdktf.IResolvable enableDnsSupport)
Sets the value ofDefaultVpcConfig.getEnableDnsSupport()- Parameters:
enableDnsSupport- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#enable_dns_support DefaultVpc#enable_dns_support}.- Returns:
this
-
enableNetworkAddressUsageMetrics
@Stability(Stable) public DefaultVpcConfig.Builder enableNetworkAddressUsageMetrics(Boolean enableNetworkAddressUsageMetrics)
Sets the value ofDefaultVpcConfig.getEnableNetworkAddressUsageMetrics()- Parameters:
enableNetworkAddressUsageMetrics- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#enable_network_address_usage_metrics DefaultVpc#enable_network_address_usage_metrics}.- Returns:
this
-
enableNetworkAddressUsageMetrics
@Stability(Stable) public DefaultVpcConfig.Builder enableNetworkAddressUsageMetrics(com.hashicorp.cdktf.IResolvable enableNetworkAddressUsageMetrics)
Sets the value ofDefaultVpcConfig.getEnableNetworkAddressUsageMetrics()- Parameters:
enableNetworkAddressUsageMetrics- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#enable_network_address_usage_metrics DefaultVpc#enable_network_address_usage_metrics}.- Returns:
this
-
forceDestroy
@Stability(Stable) public DefaultVpcConfig.Builder forceDestroy(Boolean forceDestroy)
Sets the value ofDefaultVpcConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#force_destroy DefaultVpc#force_destroy}.- Returns:
this
-
forceDestroy
@Stability(Stable) public DefaultVpcConfig.Builder forceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)
Sets the value ofDefaultVpcConfig.getForceDestroy()- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#force_destroy DefaultVpc#force_destroy}.- Returns:
this
-
id
@Stability(Stable) public DefaultVpcConfig.Builder id(String id)
Sets the value ofDefaultVpcConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#id DefaultVpc#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
-
ipv6CidrBlock
@Stability(Stable) public DefaultVpcConfig.Builder ipv6CidrBlock(String ipv6CidrBlock)
Sets the value ofDefaultVpcConfig.getIpv6CidrBlock()- Parameters:
ipv6CidrBlock- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#ipv6_cidr_block DefaultVpc#ipv6_cidr_block}.- Returns:
this
-
ipv6CidrBlockNetworkBorderGroup
@Stability(Stable) public DefaultVpcConfig.Builder ipv6CidrBlockNetworkBorderGroup(String ipv6CidrBlockNetworkBorderGroup)
Sets the value ofDefaultVpcConfig.getIpv6CidrBlockNetworkBorderGroup()- Parameters:
ipv6CidrBlockNetworkBorderGroup- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#ipv6_cidr_block_network_border_group DefaultVpc#ipv6_cidr_block_network_border_group}.- Returns:
this
-
ipv6IpamPoolId
@Stability(Stable) public DefaultVpcConfig.Builder ipv6IpamPoolId(String ipv6IpamPoolId)
Sets the value ofDefaultVpcConfig.getIpv6IpamPoolId()- Parameters:
ipv6IpamPoolId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#ipv6_ipam_pool_id DefaultVpc#ipv6_ipam_pool_id}.- Returns:
this
-
ipv6NetmaskLength
@Stability(Stable) public DefaultVpcConfig.Builder ipv6NetmaskLength(Number ipv6NetmaskLength)
Sets the value ofDefaultVpcConfig.getIpv6NetmaskLength()- Parameters:
ipv6NetmaskLength- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#ipv6_netmask_length DefaultVpc#ipv6_netmask_length}.- Returns:
this
-
tags
@Stability(Stable) public DefaultVpcConfig.Builder tags(Map<String,String> tags)
Sets the value ofDefaultVpcConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#tags DefaultVpc#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DefaultVpcConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDefaultVpcConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/default_vpc#tags_all DefaultVpc#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public DefaultVpcConfig.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 DefaultVpcConfig.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 DefaultVpcConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DefaultVpcConfig.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 DefaultVpcConfig.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 DefaultVpcConfig.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 DefaultVpcConfig.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 DefaultVpcConfig.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 DefaultVpcConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DefaultVpcConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DefaultVpcConfig>- Returns:
- a new instance of
DefaultVpcConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-