Class CfnSubnetRouteTableAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnSubnetRouteTableAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubnetRouteTableAssociationMixinProps>
- Enclosing interface:
CfnSubnetRouteTableAssociationMixinProps
@Stability(Stable)
public static final class CfnSubnetRouteTableAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubnetRouteTableAssociationMixinProps>
A builder for
CfnSubnetRouteTableAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.routeTableId(String routeTableId) Sets the value ofCfnSubnetRouteTableAssociationMixinProps.getRouteTableId()Sets the value ofCfnSubnetRouteTableAssociationMixinProps.getSubnetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routeTableId
@Stability(Stable) public CfnSubnetRouteTableAssociationMixinProps.Builder routeTableId(String routeTableId) Sets the value ofCfnSubnetRouteTableAssociationMixinProps.getRouteTableId()- Parameters:
routeTableId- The ID of the route table. The physical ID changes when the route table ID is changed.- Returns:
this
-
subnetId
@Stability(Stable) public CfnSubnetRouteTableAssociationMixinProps.Builder subnetId(String subnetId) Sets the value ofCfnSubnetRouteTableAssociationMixinProps.getSubnetId()- Parameters:
subnetId- The ID of the subnet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubnetRouteTableAssociationMixinProps>- Returns:
- a new instance of
CfnSubnetRouteTableAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-