Class CfnDBClusterParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>
- Enclosing interface:
CfnDBClusterParameterGroupProps
CfnDBClusterParameterGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dbClusterParameterGroupName
(String dbClusterParameterGroupName) Sets the value ofCfnDBClusterParameterGroupProps.getDbClusterParameterGroupName()
description
(String description) Sets the value ofCfnDBClusterParameterGroupProps.getDescription()
Sets the value ofCfnDBClusterParameterGroupProps.getFamily()
parameters
(Object parameters) Sets the value ofCfnDBClusterParameterGroupProps.getParameters()
Sets the value ofCfnDBClusterParameterGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnDBClusterParameterGroupProps.getDescription()
- Parameters:
description
- The description for the DB cluster parameter group. This parameter is required.- Returns:
this
-
family
Sets the value ofCfnDBClusterParameterGroupProps.getFamily()
- Parameters:
family
- The DB cluster parameter group family name. This parameter is required. 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:
this
-
parameters
Sets the value ofCfnDBClusterParameterGroupProps.getParameters()
- Parameters:
parameters
- Provides a list of parameters for the DB cluster parameter group. This parameter is required.- Returns:
this
-
dbClusterParameterGroupName
@Stability(Stable) public CfnDBClusterParameterGroupProps.Builder dbClusterParameterGroupName(String dbClusterParameterGroupName) Sets the value ofCfnDBClusterParameterGroupProps.getDbClusterParameterGroupName()
- 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:
this
-
tags
Sets the value ofCfnDBClusterParameterGroupProps.getTags()
- Parameters:
tags
- Tags to assign to the DB cluster parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>
- Returns:
- a new instance of
CfnDBClusterParameterGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-