@Stability(value=Experimental) public static final class SubnetConfiguration.Builder extends Object implements software.amazon.jsii.Builder<SubnetConfiguration>
SubnetConfiguration| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SubnetConfiguration |
build()
Builds the configured instance.
|
SubnetConfiguration.Builder |
cidrMask(Number cidrMask)
Sets the value of
SubnetConfiguration.getCidrMask() |
SubnetConfiguration.Builder |
name(String name)
Sets the value of
SubnetConfiguration.getName() |
SubnetConfiguration.Builder |
reserved(Boolean reserved)
Sets the value of
SubnetConfiguration.getReserved() |
SubnetConfiguration.Builder |
subnetType(SubnetType subnetType)
Sets the value of
SubnetConfiguration.getSubnetType() |
@Stability(value=Experimental) public SubnetConfiguration.Builder name(String name)
SubnetConfiguration.getName()name - Logical name for the subnet group. This parameter is required.
This name can be used when selecting VPC subnets to distinguish
between different subnet groups of the same type.this@Stability(value=Experimental) public SubnetConfiguration.Builder subnetType(SubnetType subnetType)
SubnetConfiguration.getSubnetType()subnetType - The type of Subnet to configure. This parameter is required.
The Subnet type will control the ability to route and connect to the
Internet.this@Stability(value=Experimental) public SubnetConfiguration.Builder cidrMask(Number cidrMask)
SubnetConfiguration.getCidrMask()cidrMask - The number of leading 1 bits in the routing mask.
The number of available IP addresses in each subnet of this group
will be equal to 2^(32 - cidrMask) - 2.
Valid values are 16--28.
this@Stability(value=Experimental) public SubnetConfiguration.Builder reserved(Boolean reserved)
SubnetConfiguration.getReserved()reserved - Controls if subnet IP space needs to be reserved.
When true, the IP space for the subnet is reserved but no actual
resources are provisioned. This space is only dependent on the
number of availability zones and on cidrMask - all other subnet
properties are ignored.this@Stability(value=Experimental) public SubnetConfiguration build()
build in interface software.amazon.jsii.Builder<SubnetConfiguration>SubnetConfigurationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.