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.gatewayId(IInternetGatewayRef gatewayId) The ID of the gateway.gatewayId(IVPNGatewayRef gatewayId) The ID of the gateway.routeTableId(String routeTableId) The ID of the route table.routeTableId(IRouteTableRef routeTableId) The ID of the route table.
-
Method Details
-
create
@Stability(Stable) public static CfnGatewayRouteTableAssociation.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
CfnGatewayRouteTableAssociation.Builder.
-
gatewayId
The ID of the gateway.- Parameters:
gatewayId- The ID of the gateway. This parameter is required.- Returns:
this- See Also:
-
gatewayId
@Stability(Stable) public CfnGatewayRouteTableAssociation.Builder gatewayId(IInternetGatewayRef gatewayId) The ID of the gateway.- Parameters:
gatewayId- The ID of the gateway. This parameter is required.- Returns:
this- See Also:
-
gatewayId
@Stability(Stable) public CfnGatewayRouteTableAssociation.Builder gatewayId(IVPNGatewayRef gatewayId) The ID of the gateway.- Parameters:
gatewayId- The ID of the gateway. This parameter is required.- Returns:
this- See Also:
-
routeTableId
The ID of the route table.- Parameters:
routeTableId- The ID of the route table. This parameter is required.- Returns:
this- See Also:
-
routeTableId
@Stability(Stable) public CfnGatewayRouteTableAssociation.Builder routeTableId(IRouteTableRef routeTableId) The ID of the route table.- Parameters:
routeTableId- The ID of the route table. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRouteTableAssociation>- Returns:
- a newly built instance of
CfnGatewayRouteTableAssociation.
-