@Stability(value=Experimental) public static final class VpcSubnetGroup.Builder extends Object implements software.amazon.jsii.Builder<VpcSubnetGroup>
VpcSubnetGroup| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VpcSubnetGroup |
build()
Builds the configured instance.
|
VpcSubnetGroup.Builder |
name(String name)
Sets the value of
VpcSubnetGroup.getName() |
VpcSubnetGroup.Builder |
subnets(List<? extends VpcSubnet> subnets)
Sets the value of
VpcSubnetGroup.getSubnets() |
VpcSubnetGroup.Builder |
type(VpcSubnetGroupType type)
Sets the value of
VpcSubnetGroup.getType() |
@Stability(value=Experimental) public VpcSubnetGroup.Builder name(String name)
VpcSubnetGroup.getName()name - The name of the subnet group, determined by looking at the tags of of the subnets that belong to it. This parameter is required.this@Stability(value=Experimental) public VpcSubnetGroup.Builder subnets(List<? extends VpcSubnet> subnets)
VpcSubnetGroup.getSubnets()subnets - The subnets that are part of this group. This parameter is required.
There is no condition that the subnets have to be symmetric
in the group.this@Stability(value=Experimental) public VpcSubnetGroup.Builder type(VpcSubnetGroupType type)
VpcSubnetGroup.getType()type - The type of the subnet group. This parameter is required.this@Stability(value=Experimental) public VpcSubnetGroup build()
build in interface software.amazon.jsii.Builder<VpcSubnetGroup>VpcSubnetGroupNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.