Interface CreateClusterSubnetGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>,RedshiftRequest.Builder,SdkBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateClusterSubnetGroupRequest
@Mutable @NotThreadSafe public static interface CreateClusterSubnetGroupRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateClusterSubnetGroupRequest.Builder,CreateClusterSubnetGroupRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
clusterSubnetGroupName
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 Amazon Web Services account.
Example:
examplesubnetgroup- Parameters:
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 Amazon Web Services account.
Example:
examplesubnetgroup-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
CreateClusterSubnetGroupRequest.Builder description(String description)
A description for the subnet group.
- Parameters:
description- A description for the subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
CreateClusterSubnetGroupRequest.Builder subnetIds(Collection<String> subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
- Parameters:
subnetIds- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
CreateClusterSubnetGroupRequest.Builder subnetIds(String... subnetIds)
An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.
- Parameters:
subnetIds- An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterSubnetGroupRequest.Builder tags(Collection<Tag> tags)
A list of tag instances.
- Parameters:
tags- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterSubnetGroupRequest.Builder tags(Tag... tags)
A list of tag instances.
- Parameters:
tags- A list of tag instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateClusterSubnetGroupRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateClusterSubnetGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateClusterSubnetGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-