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