Class CfnTransitGatewayAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayAttachmentPropsMixin>
- Enclosing class:
CfnTransitGatewayAttachmentPropsMixin
@Stability(Stable)
public static final class CfnTransitGatewayAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayAttachmentPropsMixin>
A fluent builder for
CfnTransitGatewayAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The VPC attachment options.The IDs of one or more subnets.The tags for the attachment.transitGatewayId(String transitGatewayId) The ID of the transit gateway.transitGatewayId(ITransitGatewayRef transitGatewayId) The ID of the transit gateway.The ID of the VPC.The ID of the VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTransitGatewayAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTransitGatewayAttachmentPropsMixin.Builder.
-
options
The VPC attachment options.- Parameters:
options- The VPC attachment options. This parameter is required.- Returns:
this- See Also:
-
subnetIds
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.Builder subnetIds(List<? extends Object> subnetIds) The IDs of one or more subnets.You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
- Parameters:
subnetIds- The IDs of one or more subnets. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.Builder tags(List<? extends CfnTag> tags) The tags for the attachment.- Parameters:
tags- The tags for the attachment. This parameter is required.- Returns:
this- See Also:
-
transitGatewayId
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.Builder transitGatewayId(String transitGatewayId) The ID of the transit gateway.- Parameters:
transitGatewayId- The ID of the transit gateway. This parameter is required.- Returns:
this- See Also:
-
transitGatewayId
@Stability(Stable) public CfnTransitGatewayAttachmentPropsMixin.Builder transitGatewayId(ITransitGatewayRef transitGatewayId) The ID of the transit gateway.- Parameters:
transitGatewayId- The ID of the transit gateway. This parameter is required.- Returns:
this- See Also:
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnTransitGatewayAttachmentPropsMixin.
-