@Stability(value=Stable) public static final class CfnDBSubnetGroup.Builder extends Object implements software.amazon.jsii.Builder<CfnDBSubnetGroup>
CfnDBSubnetGroup.| Modifier and Type | Method and Description |
|---|---|
CfnDBSubnetGroup |
build() |
static CfnDBSubnetGroup.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDBSubnetGroup.Builder |
dbSubnetGroupDescription(String dbSubnetGroupDescription)
The description for the subnet group.
|
CfnDBSubnetGroup.Builder |
dbSubnetGroupName(String dbSubnetGroupName)
The name for the subnet group.
|
CfnDBSubnetGroup.Builder |
subnetIds(List<String> subnetIds)
The Amazon EC2 subnet IDs for the subnet group.
|
CfnDBSubnetGroup.Builder |
tags(List<? extends CfnTag> tags)
The tags to be assigned to the subnet group.
|
@Stability(value=Stable) public static CfnDBSubnetGroup.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDBSubnetGroup.Builder.@Stability(value=Stable) public CfnDBSubnetGroup.Builder dbSubnetGroupDescription(String dbSubnetGroupDescription)
dbSubnetGroupDescription - The description for the subnet group. This parameter is required.this@Stability(value=Stable) public CfnDBSubnetGroup.Builder subnetIds(List<String> subnetIds)
subnetIds - The Amazon EC2 subnet IDs for the subnet group. This parameter is required.this@Stability(value=Stable) public CfnDBSubnetGroup.Builder dbSubnetGroupName(String dbSubnetGroupName)
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
dbSubnetGroupName - The name for the subnet group. This value is stored as a lowercase string. This parameter is required.this@Stability(value=Stable) public CfnDBSubnetGroup.Builder tags(List<? extends CfnTag> tags)
tags - The tags to be assigned to the subnet group. This parameter is required.this@Stability(value=Stable) public CfnDBSubnetGroup build()
build in interface software.amazon.jsii.Builder<CfnDBSubnetGroup>Copyright © 2022. All rights reserved.