@Stability(value=Stable) public static final class PrivateSubnetProps.Builder extends Object
PrivateSubnetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PrivateSubnetProps.Builder |
availabilityZone(String availabilityZone)
Sets the value of AvailabilityZone
|
PrivateSubnetProps |
build()
Builds the configured instance.
|
PrivateSubnetProps.Builder |
cidrBlock(String cidrBlock)
Sets the value of CidrBlock
|
PrivateSubnetProps.Builder |
mapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Sets the value of MapPublicIpOnLaunch
|
PrivateSubnetProps.Builder |
vpcId(String vpcId)
Sets the value of VpcId
|
@Stability(value=Stable) public PrivateSubnetProps.Builder availabilityZone(String availabilityZone)
availabilityZone
- The availability zone for the subnet. This parameter is required.this
@Stability(value=Stable) public PrivateSubnetProps.Builder cidrBlock(String cidrBlock)
cidrBlock
- The CIDR notation for this subnet. This parameter is required.this
@Stability(value=Stable) public PrivateSubnetProps.Builder vpcId(String vpcId)
vpcId
- The VPC which this subnet is part of. This parameter is required.this
@Stability(value=Stable) public PrivateSubnetProps.Builder mapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
mapPublicIpOnLaunch
- Controls if a public IP is associated to an instance at launch.this
@Stability(value=Stable) public PrivateSubnetProps build()
PrivateSubnetProps
NullPointerException
- if any required attribute was not providedCopyright © 2019. All rights reserved.