@Stability(value=Stable) 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 |
isPendingLookup(Boolean isPendingLookup)
Sets the value of
SelectedSubnets.getIsPendingLookup() |
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=Stable) public SelectedSubnets.Builder availabilityZones(List<String> availabilityZones)
SelectedSubnets.getAvailabilityZones()availabilityZones - The respective AZs of each subnet. This parameter is required.this@Stability(value=Stable) 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=Stable) 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=Stable) public SelectedSubnets.Builder subnetIds(List<String> subnetIds)
SelectedSubnets.getSubnetIds()subnetIds - The subnet IDs. This parameter is required.this@Stability(value=Stable) public SelectedSubnets.Builder subnets(List<? extends ISubnet> subnets)
SelectedSubnets.getSubnets()subnets - Selected subnet objects. This parameter is required.this@Stability(value=Stable) public SelectedSubnets.Builder isPendingLookup(Boolean isPendingLookup)
SelectedSubnets.getIsPendingLookup()isPendingLookup - The subnet selection is not actually real yet.
If this value is true, don't validate anything about the subnets. The count
or identities are not known yet, and the validation will most likely fail
which will prevent a successful lookup.this@Stability(value=Stable) public SelectedSubnets build()
build in interface software.amazon.jsii.Builder<SelectedSubnets>SelectedSubnetsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.