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