Class CfnGatewayRouteTableAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnGatewayRouteTableAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRouteTableAssociationProps>
- Enclosing interface:
CfnGatewayRouteTableAssociationProps
@Stability(Stable)
public static final class CfnGatewayRouteTableAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRouteTableAssociationProps>
A builder for
CfnGatewayRouteTableAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnGatewayRouteTableAssociationProps.getGatewayId()
routeTableId
(String routeTableId) Sets the value ofCfnGatewayRouteTableAssociationProps.getRouteTableId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayId
Sets the value ofCfnGatewayRouteTableAssociationProps.getGatewayId()
- Parameters:
gatewayId
- The ID of the gateway. This parameter is required.- Returns:
this
-
routeTableId
@Stability(Stable) public CfnGatewayRouteTableAssociationProps.Builder routeTableId(String routeTableId) Sets the value ofCfnGatewayRouteTableAssociationProps.getRouteTableId()
- Parameters:
routeTableId
- The ID of the route table. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayRouteTableAssociationProps>
- Returns:
- a new instance of
CfnGatewayRouteTableAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-