@Stability(value=Experimental) public static final class SubnetGroupProps.Builder extends Object implements software.amazon.jsii.Builder<SubnetGroupProps>
SubnetGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SubnetGroupProps |
build()
Builds the configured instance.
|
SubnetGroupProps.Builder |
description(String description)
Sets the value of
SubnetGroupProps.getDescription() |
SubnetGroupProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
SubnetGroupProps.getRemovalPolicy() |
SubnetGroupProps.Builder |
subnetGroupName(String subnetGroupName)
Sets the value of
SubnetGroupProps.getSubnetGroupName() |
SubnetGroupProps.Builder |
vpc(IVpc vpc)
Sets the value of
SubnetGroupProps.getVpc() |
SubnetGroupProps.Builder |
vpcSubnets(SubnetSelection vpcSubnets)
Sets the value of
SubnetGroupProps.getVpcSubnets() |
@Stability(value=Experimental) public SubnetGroupProps.Builder description(String description)
SubnetGroupProps.getDescription()description - Description of the subnet group. This parameter is required.this@Stability(value=Experimental) public SubnetGroupProps.Builder vpc(IVpc vpc)
SubnetGroupProps.getVpc()vpc - The VPC to place the subnet group in. This parameter is required.this@Stability(value=Experimental) public SubnetGroupProps.Builder removalPolicy(RemovalPolicy removalPolicy)
SubnetGroupProps.getRemovalPolicy()removalPolicy - The removal policy to apply when the subnet group are removed from the stack or replaced during an update.this@Stability(value=Experimental) public SubnetGroupProps.Builder subnetGroupName(String subnetGroupName)
SubnetGroupProps.getSubnetGroupName()subnetGroupName - The name of the subnet group.this@Stability(value=Experimental) public SubnetGroupProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
SubnetGroupProps.getVpcSubnets()vpcSubnets - Which subnets within the VPC to associate with this group.this@Stability(value=Experimental) public SubnetGroupProps build()
build in interface software.amazon.jsii.Builder<SubnetGroupProps>SubnetGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.