Interface CreateDbClusterParameterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDbClusterParameterGroupRequest.Builder,
,CreateDbClusterParameterGroupRequest> RdsRequest.Builder
,SdkBuilder<CreateDbClusterParameterGroupRequest.Builder,
,CreateDbClusterParameterGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDbClusterParameterGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterParameterGroupName
(String dbClusterParameterGroupName) The name of the DB cluster parameter group.dbParameterGroupFamily
(String dbParameterGroupFamily) The DB cluster parameter group family name.description
(String description) The description for the DB cluster parameter group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Tags to assign to the DB cluster parameter group.tags
(Consumer<Tag.Builder>... tags) Tags to assign to the DB cluster parameter group.Tags to assign to the DB cluster parameter group.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.rds.model.RdsRequest.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
-
dbClusterParameterGroupName
CreateDbClusterParameterGroupRequest.Builder dbClusterParameterGroupName(String dbClusterParameterGroupName) The name of the DB cluster parameter group.
Constraints:
-
Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
- Parameters:
dbClusterParameterGroupName
- The name of the DB cluster parameter group.Constraints:
-
Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dbParameterGroupFamily
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
Aurora MySQL
Example:
aurora-mysql5.7
,aurora-mysql8.0
Aurora PostgreSQL
Example:
aurora-postgresql14
RDS for MySQL
Example:
mysql8.0
RDS for PostgreSQL
Example:
postgres13
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine>
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql
-
aurora-postgresql
-
mysql
-
postgres
- Parameters:
dbParameterGroupFamily
- The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.Aurora MySQL
Example:
aurora-mysql5.7
,aurora-mysql8.0
Aurora PostgreSQL
Example:
aurora-postgresql14
RDS for MySQL
Example:
mysql8.0
RDS for PostgreSQL
Example:
postgres13
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine>
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql
-
aurora-postgresql
-
mysql
-
postgres
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
The description for the DB cluster parameter group.
- Parameters:
description
- The description for the DB cluster parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the DB cluster parameter group.
- Parameters:
tags
- Tags to assign to the DB cluster parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the DB cluster parameter group.
- Parameters:
tags
- Tags to assign to the DB cluster parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to assign to the DB cluster parameter group.
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
CreateDbClusterParameterGroupRequest.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
CreateDbClusterParameterGroupRequest.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.
-