@Stability(value=Stable) public static final class CfnTransitGatewayAttachmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnTransitGatewayAttachmentProps>
CfnTransitGatewayAttachmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTransitGatewayAttachmentProps |
build()
Builds the configured instance.
|
CfnTransitGatewayAttachmentProps.Builder |
options(Object options)
Sets the value of
CfnTransitGatewayAttachmentProps.getOptions() |
CfnTransitGatewayAttachmentProps.Builder |
subnetIds(List<String> subnetIds)
Sets the value of
CfnTransitGatewayAttachmentProps.getSubnetIds() |
CfnTransitGatewayAttachmentProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnTransitGatewayAttachmentProps.getTags() |
CfnTransitGatewayAttachmentProps.Builder |
transitGatewayId(String transitGatewayId)
Sets the value of
CfnTransitGatewayAttachmentProps.getTransitGatewayId() |
CfnTransitGatewayAttachmentProps.Builder |
vpcId(String vpcId)
Sets the value of
CfnTransitGatewayAttachmentProps.getVpcId() |
@Stability(value=Stable) public CfnTransitGatewayAttachmentProps.Builder subnetIds(List<String> subnetIds)
CfnTransitGatewayAttachmentProps.getSubnetIds()subnetIds - The IDs of one or more subnets. This parameter is required.
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.this@Stability(value=Stable) public CfnTransitGatewayAttachmentProps.Builder transitGatewayId(String transitGatewayId)
CfnTransitGatewayAttachmentProps.getTransitGatewayId()transitGatewayId - The ID of the transit gateway. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachmentProps.Builder vpcId(String vpcId)
CfnTransitGatewayAttachmentProps.getVpcId()vpcId - The ID of the VPC. This parameter is required.this@Stability(value=Stable) public CfnTransitGatewayAttachmentProps.Builder options(Object options)
CfnTransitGatewayAttachmentProps.getOptions()options - `AWS::EC2::TransitGatewayAttachment.Options`.this@Stability(value=Stable) public CfnTransitGatewayAttachmentProps.Builder tags(List<? extends CfnTag> tags)
CfnTransitGatewayAttachmentProps.getTags()tags - The tags for the attachment.this@Stability(value=Stable) public CfnTransitGatewayAttachmentProps build()
build in interface software.amazon.jsii.Builder<CfnTransitGatewayAttachmentProps>CfnTransitGatewayAttachmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.