@Stability(value=Experimental) public static final class SelectedSubnets.Builder extends Object implements software.amazon.jsii.Builder<SelectedSubnets>
SelectedSubnets| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SelectedSubnets.Builder |
availabilityZones(List<String> availabilityZones)
Sets the value of
SelectedSubnets.getAvailabilityZones() |
SelectedSubnets |
build()
Builds the configured instance.
|
SelectedSubnets.Builder |
hasPublic(Boolean hasPublic)
Sets the value of
SelectedSubnets.getHasPublic() |
SelectedSubnets.Builder |
internetConnectivityEstablished(software.constructs.IDependable internetConnectivityEstablished)
Sets the value of
SelectedSubnets.getInternetConnectivityEstablished() |
SelectedSubnets.Builder |
subnetIds(List<String> subnetIds)
Sets the value of
SelectedSubnets.getSubnetIds() |
SelectedSubnets.Builder |
subnets(List<? extends ISubnet> subnets)
Sets the value of
SelectedSubnets.getSubnets() |
@Stability(value=Experimental) public SelectedSubnets.Builder availabilityZones(List<String> availabilityZones)
SelectedSubnets.getAvailabilityZones()availabilityZones - The respective AZs of each subnet. This parameter is required.this@Stability(value=Experimental) public SelectedSubnets.Builder hasPublic(Boolean hasPublic)
SelectedSubnets.getHasPublic()hasPublic - Whether any of the given subnets are from the VPC's public subnets. This parameter is required.this@Stability(value=Experimental) public SelectedSubnets.Builder internetConnectivityEstablished(software.constructs.IDependable internetConnectivityEstablished)
SelectedSubnets.getInternetConnectivityEstablished()internetConnectivityEstablished - Dependency representing internet connectivity for these subnets. This parameter is required.this@Stability(value=Experimental) public SelectedSubnets.Builder subnetIds(List<String> subnetIds)
SelectedSubnets.getSubnetIds()subnetIds - The subnet IDs. This parameter is required.this@Stability(value=Experimental) public SelectedSubnets.Builder subnets(List<? extends ISubnet> subnets)
SelectedSubnets.getSubnets()subnets - Selected subnet objects. This parameter is required.this@Stability(value=Experimental) public SelectedSubnets build()
build in interface software.amazon.jsii.Builder<SelectedSubnets>SelectedSubnetsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.