| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpcSubnet.Builder |
availabilityZone(String availabilityZone)
Sets the value of
VpcSubnet.getAvailabilityZone() |
VpcSubnet |
build()
Builds the configured instance.
|
VpcSubnet.Builder |
cidr(String cidr)
Sets the value of
VpcSubnet.getCidr() |
VpcSubnet.Builder |
routeTableId(String routeTableId)
Sets the value of
VpcSubnet.getRouteTableId() |
VpcSubnet.Builder |
subnetId(String subnetId)
Sets the value of
VpcSubnet.getSubnetId() |
@Stability(value=Experimental) public VpcSubnet.Builder availabilityZone(String availabilityZone)
VpcSubnet.getAvailabilityZone()availabilityZone - The code of the availability zone this subnet is in (for example, 'us-west-2a'). This parameter is required.this@Stability(value=Experimental) public VpcSubnet.Builder routeTableId(String routeTableId)
VpcSubnet.getRouteTableId()routeTableId - The identifier of the route table for this subnet. This parameter is required.this@Stability(value=Experimental) public VpcSubnet.Builder subnetId(String subnetId)
VpcSubnet.getSubnetId()subnetId - The identifier of the subnet. This parameter is required.this@Stability(value=Experimental) public VpcSubnet.Builder cidr(String cidr)
VpcSubnet.getCidr()cidr - CIDR range of the subnet.this@Stability(value=Experimental) public VpcSubnet build()
build in interface software.amazon.jsii.Builder<VpcSubnet>VpcSubnetNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.