CopyableBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>
, SdkBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>
public static interface CreateClusterSubnetGroupRequest.Builder extends CopyableBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateClusterSubnetGroupRequest.Builder |
clusterSubnetGroupName(String clusterSubnetGroupName) |
The name for the subnet group.
|
CreateClusterSubnetGroupRequest.Builder |
description(String description) |
A description for the subnet group.
|
CreateClusterSubnetGroupRequest.Builder |
subnetIds(String... subnetIds) |
An array of VPC subnet IDs.
|
CreateClusterSubnetGroupRequest.Builder |
subnetIds(Collection<String> subnetIds) |
An array of VPC subnet IDs.
|
CreateClusterSubnetGroupRequest.Builder |
tags(Collection<Tag> tags) |
A list of tag instances.
|
CreateClusterSubnetGroupRequest.Builder |
tags(Tag... tags) |
A list of tag instances.
|
copy
apply, build
CreateClusterSubnetGroupRequest.Builder clusterSubnetGroupName(String clusterSubnetGroupName)
The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all subnet groups that are created by your AWS account.
Example: examplesubnetgroup
clusterSubnetGroupName
- The name for the subnet group. Amazon Redshift stores the value as a lowercase string.
Constraints:
Must contain no more than 255 alphanumeric characters or hyphens.
Must not be "Default".
Must be unique for all subnet groups that are created by your AWS account.
Example: examplesubnetgroup
CreateClusterSubnetGroupRequest.Builder description(String description)
A description for the subnet group.
description
- A description for the subnet group.CreateClusterSubnetGroupRequest.Builder subnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.CreateClusterSubnetGroupRequest.Builder subnetIds(String... subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
NOTE: This method appends the values to the existing list (if any). Use
#setSubnetIds(java.util.Collection)
or #withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.CreateClusterSubnetGroupRequest.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.CreateClusterSubnetGroupRequest.Builder tags(Tag... tags)
A list of tag instances.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tag instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.