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 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

      @Stability(Experimental) public RouteTable.Builder vpc(IVpcV2 vpc)
      (experimental) The ID of the VPC.

      Parameters:
      vpc - The ID of the VPC. This parameter is required.
      Returns:
      this
    • routeTableName

      @Stability(Experimental) public RouteTable.Builder routeTableName(String 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

      @Stability(Experimental) public RouteTable build()
      Specified by:
      build in interface software.amazon.jsii.Builder<RouteTable>
      Returns:
      a newly built instance of RouteTable.