Class CfnDBClusterParameterGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>
- Enclosing interface:
- CfnDBClusterParameterGroupProps
CfnDBClusterParameterGroupProps-
Constructor Summary
Constructors -
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- A friendly description for this 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 DB engine and engine version compatible with that DB cluster parameter group family.The DB cluster parameter group family can't be changed when updating a DB cluster parameter group.
To list all of the available parameter group families, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"The output contains duplicates.
For more information, see
[CreateDBClusterParameterGroup](https://docs.aws.amazon.com//AmazonRDS/latest/APIReference/API_CreateDBClusterParameterGroup.html).- 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.
If you don't specify a value for
DBClusterParameterGroupNameproperty, a name is automatically created for the DB cluster parameter group.This value is stored as a lowercase string.
- Returns:
this
-
tags
Sets the value ofCfnDBClusterParameterGroupProps.getTags()- Parameters:
tags- An optional array of key-value pairs to apply to this DB cluster parameter group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBClusterParameterGroupProps>- Returns:
- a new instance of
CfnDBClusterParameterGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-