Class CfnDBSubnetGroupPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.docdb.CfnDBSubnetGroupPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBSubnetGroupPropsMixin>
- Enclosing class:
CfnDBSubnetGroupPropsMixin
@Stability(Stable)
public static final class CfnDBSubnetGroupPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBSubnetGroupPropsMixin>
A fluent builder for
CfnDBSubnetGroupPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dbSubnetGroupDescription(String dbSubnetGroupDescription) The description for the subnet group.dbSubnetGroupName(String dbSubnetGroupName) The name for the subnet group.The Amazon EC2 subnet IDs for the subnet group.The tags to be assigned to the subnet group.
-
Method Details
-
create
@Stability(Stable) public static CfnDBSubnetGroupPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDBSubnetGroupPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDBSubnetGroupPropsMixin.Builder.
-
dbSubnetGroupDescription
@Stability(Stable) public CfnDBSubnetGroupPropsMixin.Builder dbSubnetGroupDescription(String dbSubnetGroupDescription) The description for the subnet group.- Parameters:
dbSubnetGroupDescription- The description for the subnet group. This parameter is required.- Returns:
this- See Also:
-
dbSubnetGroupName
@Stability(Stable) public CfnDBSubnetGroupPropsMixin.Builder dbSubnetGroupName(String dbSubnetGroupName) The name for the subnet group. This value is stored as a lowercase string.Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example:
mySubnetgroup- Parameters:
dbSubnetGroupName- The name for the subnet group. This value is stored as a lowercase string. This parameter is required.- Returns:
this- See Also:
-
subnetIds
The Amazon EC2 subnet IDs for the subnet group.- Parameters:
subnetIds- The Amazon EC2 subnet IDs for the subnet group. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to be assigned to the subnet group.- Parameters:
tags- The tags to be assigned to the subnet group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBSubnetGroupPropsMixin>- Returns:
- a newly built instance of
CfnDBSubnetGroupPropsMixin.
-