Class TransitGatewayRouteTableProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.alpha.TransitGatewayRouteTableProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TransitGatewayRouteTableProps>
- Enclosing interface:
TransitGatewayRouteTableProps
@Stability(Experimental)
public static final class TransitGatewayRouteTableProps.Builder
extends Object
implements software.amazon.jsii.Builder<TransitGatewayRouteTableProps>
A builder for
TransitGatewayRouteTableProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.transitGateway(ITransitGateway transitGateway) Sets the value ofTransitGatewayRouteTableProps.getTransitGateway()transitGatewayRouteTableName(String transitGatewayRouteTableName) Sets the value ofTransitGatewayRouteTableProps.getTransitGatewayRouteTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
transitGateway
@Stability(Experimental) public TransitGatewayRouteTableProps.Builder transitGateway(ITransitGateway transitGateway) Sets the value ofTransitGatewayRouteTableProps.getTransitGateway()- Parameters:
transitGateway- The Transit Gateway that this route table belongs to. This parameter is required.- Returns:
this
-
transitGatewayRouteTableName
@Stability(Experimental) public TransitGatewayRouteTableProps.Builder transitGatewayRouteTableName(String transitGatewayRouteTableName) Sets the value ofTransitGatewayRouteTableProps.getTransitGatewayRouteTableName()- Parameters:
transitGatewayRouteTableName- Physical name of this Transit Gateway Route Table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TransitGatewayRouteTableProps>- Returns:
- a new instance of
TransitGatewayRouteTableProps - Throws:
NullPointerException- if any required attribute was not provided
-