@Stability(value=Stable) public static final class CfnDBSubnetGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDBSubnetGroupProps>
CfnDBSubnetGroupProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDBSubnetGroupProps |
build()
Builds the configured instance.
|
CfnDBSubnetGroupProps.Builder |
dbSubnetGroupDescription(String dbSubnetGroupDescription)
Sets the value of
CfnDBSubnetGroupProps.getDbSubnetGroupDescription() |
CfnDBSubnetGroupProps.Builder |
dbSubnetGroupName(String dbSubnetGroupName)
Sets the value of
CfnDBSubnetGroupProps.getDbSubnetGroupName() |
CfnDBSubnetGroupProps.Builder |
subnetIds(List<String> subnetIds)
Sets the value of
CfnDBSubnetGroupProps.getSubnetIds() |
CfnDBSubnetGroupProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnDBSubnetGroupProps.getTags() |
@Stability(value=Stable) public CfnDBSubnetGroupProps.Builder dbSubnetGroupDescription(String dbSubnetGroupDescription)
CfnDBSubnetGroupProps.getDbSubnetGroupDescription()dbSubnetGroupDescription - The description for the DB subnet group. This parameter is required.this@Stability(value=Stable) public CfnDBSubnetGroupProps.Builder subnetIds(List<String> subnetIds)
CfnDBSubnetGroupProps.getSubnetIds()subnetIds - The EC2 Subnet IDs for the DB subnet group. This parameter is required.this@Stability(value=Stable) public CfnDBSubnetGroupProps.Builder dbSubnetGroupName(String dbSubnetGroupName)
CfnDBSubnetGroupProps.getDbSubnetGroupName()dbSubnetGroupName - The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
this@Stability(value=Stable) public CfnDBSubnetGroupProps.Builder tags(List<? extends CfnTag> tags)
CfnDBSubnetGroupProps.getTags()tags - Tags to assign to the DB subnet group.this@Stability(value=Stable) public CfnDBSubnetGroupProps build()
build in interface software.amazon.jsii.Builder<CfnDBSubnetGroupProps>CfnDBSubnetGroupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.