Class RouteTable.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.alpha.RouteTable.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouteTable>
- Enclosing class:
RouteTable
@Stability(Experimental)
public static final class RouteTable.Builder
extends Object
implements software.amazon.jsii.Builder<RouteTable>
(experimental) A fluent builder for
RouteTable
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static RouteTable.Builder
routeTableName
(String routeTableName) (experimental) The resource name of the route table.(experimental) The ID of the VPC.
-
Method Details
-
create
@Stability(Experimental) public static RouteTable.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
RouteTable.Builder
.
-
vpc
(experimental) The ID of the VPC.- Parameters:
vpc
- The ID of the VPC. This parameter is required.- Returns:
this
-
routeTableName
(experimental) The resource name of the route table.Default: - provisioned without a route table name
- Parameters:
routeTableName
- The resource name of the route table. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RouteTable>
- Returns:
- a newly built instance of
RouteTable
.
-