Class Ec2TransitGatewayVpcAttachmentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.ec2_transit_gateway_vpc_attachment.Ec2TransitGatewayVpcAttachmentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Ec2TransitGatewayVpcAttachmentConfig>
- Enclosing interface:
- Ec2TransitGatewayVpcAttachmentConfig
@Stability(Stable) public static final class Ec2TransitGatewayVpcAttachmentConfig.Builder extends Object implements software.amazon.jsii.Builder<Ec2TransitGatewayVpcAttachmentConfig>
A builder forEc2TransitGatewayVpcAttachmentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
subnetIds
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder subnetIds(List<String> subnetIds)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getSubnetIds()- Parameters:
subnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#subnet_ids Ec2TransitGatewayVpcAttachment#subnet_ids}. This parameter is required.- Returns:
this
-
transitGatewayId
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder transitGatewayId(String transitGatewayId)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTransitGatewayId()- Parameters:
transitGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#transit_gateway_id Ec2TransitGatewayVpcAttachment#transit_gateway_id}. This parameter is required.- Returns:
this
-
vpcId
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder vpcId(String vpcId)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getVpcId()- Parameters:
vpcId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#vpc_id Ec2TransitGatewayVpcAttachment#vpc_id}. This parameter is required.- Returns:
this
-
applianceModeSupport
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder applianceModeSupport(String applianceModeSupport)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getApplianceModeSupport()- Parameters:
applianceModeSupport- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#appliance_mode_support Ec2TransitGatewayVpcAttachment#appliance_mode_support}.- Returns:
this
-
dnsSupport
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder dnsSupport(String dnsSupport)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getDnsSupport()- Parameters:
dnsSupport- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#dns_support Ec2TransitGatewayVpcAttachment#dns_support}.- Returns:
this
-
id
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder id(String id)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#id Ec2TransitGatewayVpcAttachment#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
-
ipv6Support
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder ipv6Support(String ipv6Support)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getIpv6Support()- Parameters:
ipv6Support- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#ipv6_support Ec2TransitGatewayVpcAttachment#ipv6_support}.- Returns:
this
-
tags
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder tags(Map<String,String> tags)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#tags Ec2TransitGatewayVpcAttachment#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#tags_all Ec2TransitGatewayVpcAttachment#tags_all}.- Returns:
this
-
transitGatewayDefaultRouteTableAssociation
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder transitGatewayDefaultRouteTableAssociation(Boolean transitGatewayDefaultRouteTableAssociation)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTransitGatewayDefaultRouteTableAssociation()- Parameters:
transitGatewayDefaultRouteTableAssociation- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#transit_gateway_default_route_table_association Ec2TransitGatewayVpcAttachment#transit_gateway_default_route_table_association}.- Returns:
this
-
transitGatewayDefaultRouteTableAssociation
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder transitGatewayDefaultRouteTableAssociation(com.hashicorp.cdktf.IResolvable transitGatewayDefaultRouteTableAssociation)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTransitGatewayDefaultRouteTableAssociation()- Parameters:
transitGatewayDefaultRouteTableAssociation- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#transit_gateway_default_route_table_association Ec2TransitGatewayVpcAttachment#transit_gateway_default_route_table_association}.- Returns:
this
-
transitGatewayDefaultRouteTablePropagation
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder transitGatewayDefaultRouteTablePropagation(Boolean transitGatewayDefaultRouteTablePropagation)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTransitGatewayDefaultRouteTablePropagation()- Parameters:
transitGatewayDefaultRouteTablePropagation- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#transit_gateway_default_route_table_propagation Ec2TransitGatewayVpcAttachment#transit_gateway_default_route_table_propagation}.- Returns:
this
-
transitGatewayDefaultRouteTablePropagation
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig.Builder transitGatewayDefaultRouteTablePropagation(com.hashicorp.cdktf.IResolvable transitGatewayDefaultRouteTablePropagation)
Sets the value ofEc2TransitGatewayVpcAttachmentConfig.getTransitGatewayDefaultRouteTablePropagation()- Parameters:
transitGatewayDefaultRouteTablePropagation- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/ec2_transit_gateway_vpc_attachment#transit_gateway_default_route_table_propagation Ec2TransitGatewayVpcAttachment#transit_gateway_default_route_table_propagation}.- Returns:
this
-
connection
@Stability(Experimental) public Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.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 Ec2TransitGatewayVpcAttachmentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public Ec2TransitGatewayVpcAttachmentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Ec2TransitGatewayVpcAttachmentConfig>- Returns:
- a new instance of
Ec2TransitGatewayVpcAttachmentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-