public static final class CfnDBSubnetGroupProps.Builder
extends java.lang.Object
CfnDBSubnetGroupProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDBSubnetGroupProps |
build()
Builds the configured instance.
|
CfnDBSubnetGroupProps.Builder |
dbSubnetGroupDescription(java.lang.String dbSubnetGroupDescription)
Sets the value of
CfnDBSubnetGroupProps.getDbSubnetGroupDescription() |
CfnDBSubnetGroupProps.Builder |
dbSubnetGroupName(java.lang.String dbSubnetGroupName)
Sets the value of
CfnDBSubnetGroupProps.getDbSubnetGroupName() |
CfnDBSubnetGroupProps.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
Sets the value of
CfnDBSubnetGroupProps.getSubnetIds() |
CfnDBSubnetGroupProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnDBSubnetGroupProps.getTags() |
public CfnDBSubnetGroupProps.Builder dbSubnetGroupDescription(java.lang.String dbSubnetGroupDescription)
CfnDBSubnetGroupProps.getDbSubnetGroupDescription()
dbSubnetGroupDescription
- Provides the description of the DB subnet group. This parameter is required.this
public CfnDBSubnetGroupProps.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
CfnDBSubnetGroupProps.getSubnetIds()
subnetIds
- The Amazon EC2 subnet IDs for the DB subnet group. This parameter is required.this
public CfnDBSubnetGroupProps.Builder dbSubnetGroupName(java.lang.String dbSubnetGroupName)
CfnDBSubnetGroupProps.getDbSubnetGroupName()
dbSubnetGroupName
- The name of the DB subnet group.this
public CfnDBSubnetGroupProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDBSubnetGroupProps.getTags()
tags
- The tags that you want to attach to the DB subnet group.this
public CfnDBSubnetGroupProps build()
CfnDBSubnetGroupProps
java.lang.NullPointerException
- if any required attribute was not provided