public static final class CfnClusterSubnetGroupProps.Builder
extends java.lang.Object
CfnClusterSubnetGroupProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnClusterSubnetGroupProps |
build()
Builds the configured instance.
|
CfnClusterSubnetGroupProps.Builder |
description(java.lang.String description)
Sets the value of
CfnClusterSubnetGroupProps.getDescription() |
CfnClusterSubnetGroupProps.Builder |
subnetIds(java.util.List<java.lang.String> subnetIds)
Sets the value of
CfnClusterSubnetGroupProps.getSubnetIds() |
CfnClusterSubnetGroupProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnClusterSubnetGroupProps.getTags() |
public CfnClusterSubnetGroupProps.Builder description(java.lang.String description)
CfnClusterSubnetGroupProps.getDescription()
description
- A description for the subnet group. This parameter is required.this
public CfnClusterSubnetGroupProps.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
CfnClusterSubnetGroupProps.getSubnetIds()
subnetIds
- An array of VPC subnet IDs. This parameter is required.
A maximum of 20 subnets can be modified in a single request.this
public CfnClusterSubnetGroupProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnClusterSubnetGroupProps.getTags()
tags
- Specifies an arbitrary set of tags (key–value pairs) to associate with this subnet group.
Use tags to manage your resources.this
public CfnClusterSubnetGroupProps build()
CfnClusterSubnetGroupProps
java.lang.NullPointerException
- if any required attribute was not provided