Class CfnLocalGatewayRouteTableVPCAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLocalGatewayRouteTableVPCAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayRouteTableVPCAssociation>
- Enclosing class:
- CfnLocalGatewayRouteTableVPCAssociation
@Stability(Stable)
public static final class CfnLocalGatewayRouteTableVPCAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayRouteTableVPCAssociation>
A fluent builder for
CfnLocalGatewayRouteTableVPCAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()localGatewayRouteTableId(String localGatewayRouteTableId) The ID of the local gateway route table.The tags assigned to the association.The ID of the VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnLocalGatewayRouteTableVPCAssociation.Builder create(Construct scope, String id) - Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnLocalGatewayRouteTableVPCAssociation.Builder.
-
localGatewayRouteTableId
@Stability(Stable) public CfnLocalGatewayRouteTableVPCAssociation.Builder localGatewayRouteTableId(String localGatewayRouteTableId) The ID of the local gateway route table.- Parameters:
localGatewayRouteTableId- The ID of the local gateway route table. This parameter is required.- Returns:
this
-
vpcId
The ID of the VPC.- Parameters:
vpcId- The ID of the VPC. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnLocalGatewayRouteTableVPCAssociation.Builder tags(List<? extends CfnTag> tags) The tags assigned to the association.- Parameters:
tags- The tags assigned to the association. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayRouteTableVPCAssociation>- Returns:
- a newly built instance of
CfnLocalGatewayRouteTableVPCAssociation.
-