@Stability(value=Experimental) public static final class PublicSubnetProps.Builder extends Object implements software.amazon.jsii.Builder<PublicSubnetProps>
PublicSubnetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PublicSubnetProps.Builder |
availabilityZone(String availabilityZone)
Sets the value of
SubnetProps.getAvailabilityZone() |
PublicSubnetProps |
build()
Builds the configured instance.
|
PublicSubnetProps.Builder |
cidrBlock(String cidrBlock)
Sets the value of
SubnetProps.getCidrBlock() |
PublicSubnetProps.Builder |
mapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Sets the value of
SubnetProps.getMapPublicIpOnLaunch() |
PublicSubnetProps.Builder |
vpcId(String vpcId)
Sets the value of
SubnetProps.getVpcId() |
@Stability(value=Experimental) public PublicSubnetProps.Builder availabilityZone(String availabilityZone)
SubnetProps.getAvailabilityZone()availabilityZone - The availability zone for the subnet. This parameter is required.this@Stability(value=Experimental) public PublicSubnetProps.Builder cidrBlock(String cidrBlock)
SubnetProps.getCidrBlock()cidrBlock - The CIDR notation for this subnet. This parameter is required.this@Stability(value=Experimental) public PublicSubnetProps.Builder vpcId(String vpcId)
SubnetProps.getVpcId()vpcId - The VPC which this subnet is part of. This parameter is required.this@Stability(value=Experimental) public PublicSubnetProps.Builder mapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
SubnetProps.getMapPublicIpOnLaunch()mapPublicIpOnLaunch - Controls if a public IP is associated to an instance at launch.this@Stability(value=Experimental) public PublicSubnetProps build()
build in interface software.amazon.jsii.Builder<PublicSubnetProps>PublicSubnetPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.