public static final class CfnSubnetRouteTableAssociationProps.Builder
extends java.lang.Object
CfnSubnetRouteTableAssociationProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSubnetRouteTableAssociationProps |
build()
Builds the configured instance.
|
CfnSubnetRouteTableAssociationProps.Builder |
routeTableId(java.lang.String routeTableId)
Sets the value of
CfnSubnetRouteTableAssociationProps.getRouteTableId() |
CfnSubnetRouteTableAssociationProps.Builder |
subnetId(java.lang.String subnetId)
Sets the value of
CfnSubnetRouteTableAssociationProps.getSubnetId() |
public CfnSubnetRouteTableAssociationProps.Builder routeTableId(java.lang.String routeTableId)
CfnSubnetRouteTableAssociationProps.getRouteTableId()
routeTableId
- The ID of the route table. This parameter is required.
The physical ID changes when the route table ID is changed.this
public CfnSubnetRouteTableAssociationProps.Builder subnetId(java.lang.String subnetId)
CfnSubnetRouteTableAssociationProps.getSubnetId()
subnetId
- The ID of the subnet. This parameter is required.this
public CfnSubnetRouteTableAssociationProps build()
CfnSubnetRouteTableAssociationProps
java.lang.NullPointerException
- if any required attribute was not provided