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