public static interface CreateClusterSubnetGroupRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>
build
overrideConfiguration
copy
applyMutation, 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.
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.
tags
- A list of tag instances.CreateClusterSubnetGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateClusterSubnetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateClusterSubnetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.