Class CfnSubnetRouteTableAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnSubnetRouteTableAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetRouteTableAssociation>
- Enclosing class:
CfnSubnetRouteTableAssociation
@Stability(Stable)
public static final class CfnSubnetRouteTableAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetRouteTableAssociation>
A fluent builder for
CfnSubnetRouteTableAssociation.-
Method Summary
Modifier and TypeMethodDescriptionbuild()routeTableId(String routeTableId) The ID of the route table.routeTableId(IRouteTableRef routeTableId) The ID of the route table.The ID of the subnet.subnetId(ISubnetRef subnetId) The ID of the subnet.
-
Method Details
-
create
@Stability(Stable) public static CfnSubnetRouteTableAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSubnetRouteTableAssociation.Builder.
-
routeTableId
The ID of the route table.The physical ID changes when the route table ID is changed.
- Parameters:
routeTableId- The ID of the route table. This parameter is required.- Returns:
this- See Also:
-
routeTableId
@Stability(Stable) public CfnSubnetRouteTableAssociation.Builder routeTableId(IRouteTableRef routeTableId) The ID of the route table.The physical ID changes when the route table ID is changed.
- Parameters:
routeTableId- The ID of the route table. This parameter is required.- Returns:
this- See Also:
-
subnetId
The ID of the subnet.- Parameters:
subnetId- The ID of the subnet. This parameter is required.- Returns:
this- See Also:
-
subnetId
The ID of the subnet.- Parameters:
subnetId- The ID of the subnet. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubnetRouteTableAssociation>- Returns:
- a newly built instance of
CfnSubnetRouteTableAssociation.
-