Interface CreateClusterParameterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateClusterParameterGroupRequest.Builder,
,CreateClusterParameterGroupRequest> RedshiftRequest.Builder
,SdkBuilder<CreateClusterParameterGroupRequest.Builder,
,CreateClusterParameterGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateClusterParameterGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the parameter group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.parameterGroupFamily
(String parameterGroupFamily) The Amazon Redshift engine version to which the cluster parameter group applies.parameterGroupName
(String parameterGroupName) The name of the cluster parameter group.tags
(Collection<Tag> tags) A list of tag instances.tags
(Consumer<Tag.Builder>... tags) A list of tag instances.A list of tag instances.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, sdkFields
-
Method Details
-
parameterGroupName
The name of the cluster parameter group.
Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
- Parameters:
parameterGroupName
- The name of the cluster parameter group.Constraints:
-
Must be 1 to 255 alphanumeric characters or hyphens
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique withing your Amazon Web Services account.
This value is stored as a lower-case string.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
parameterGroupFamily
The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.
To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
- Parameters:
parameterGroupFamily
- The Amazon Redshift engine version to which the cluster parameter group applies. The cluster engine version determines the set of parameters.To get a list of valid parameter group family names, you can call DescribeClusterParameterGroups. By default, Amazon Redshift returns a list of all the parameter groups that are owned by your Amazon Web Services account, including the default parameter groups for each Amazon Redshift engine version. The parameter group family names associated with the default parameter groups provide you the valid values. For example, a valid family name is "redshift-1.0".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the parameter group.
- Parameters:
description
- A description of the parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
A list of tag instances.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
overrideConfiguration
CreateClusterParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateClusterParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-