Class CfnGatewayRouteTableAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnGatewayRouteTableAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRouteTableAssociation>
- Enclosing class:
- CfnGatewayRouteTableAssociation
@Stability(Stable)
public static final class CfnGatewayRouteTableAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRouteTableAssociation>
A fluent builder for
CfnGatewayRouteTableAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The ID of the gateway.routeTableId
(String routeTableId) The ID of the route table.
-
Method Details
-
create
@Stability(Stable) public static CfnGatewayRouteTableAssociation.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
CfnGatewayRouteTableAssociation.Builder
.
-
gatewayId
The ID of the gateway.- Parameters:
gatewayId
- The ID of the gateway. This parameter is required.- Returns:
this
-
routeTableId
The ID of the route table.- Parameters:
routeTableId
- The ID of the route table. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayRouteTableAssociation>
- Returns:
- a newly built instance of
CfnGatewayRouteTableAssociation
.
-