public static final class CfnDBClusterParameterGroup.Builder
extends java.lang.Object
CfnDBClusterParameterGroup
.Modifier and Type | Method and Description |
---|---|
CfnDBClusterParameterGroup |
build() |
static CfnDBClusterParameterGroup.Builder |
create(Construct scope,
java.lang.String id) |
CfnDBClusterParameterGroup.Builder |
dbClusterParameterGroupName(java.lang.String dbClusterParameterGroupName)
The name of the DB cluster parameter group.
|
CfnDBClusterParameterGroup.Builder |
description(java.lang.String description)
A friendly description for this DB cluster parameter group.
|
CfnDBClusterParameterGroup.Builder |
family(java.lang.String family)
The DB cluster parameter group family name.
|
CfnDBClusterParameterGroup.Builder |
parameters(java.lang.Object parameters)
Provides a list of parameters for the DB cluster parameter group.
|
CfnDBClusterParameterGroup.Builder |
tags(java.util.List<? extends CfnTag> tags)
An optional array of key-value pairs to apply to this DB cluster parameter group.
|
public static CfnDBClusterParameterGroup.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDBClusterParameterGroup.Builder
.public CfnDBClusterParameterGroup.Builder description(java.lang.String description)
description
- A friendly description for this DB cluster parameter group. This parameter is required.this
public CfnDBClusterParameterGroup.Builder family(java.lang.String family)
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)
.
family
- The DB cluster parameter group family name. This parameter is required.this
public CfnDBClusterParameterGroup.Builder parameters(java.lang.Object parameters)
parameters
- Provides a list of parameters for the DB cluster parameter group. This parameter is required.this
public CfnDBClusterParameterGroup.Builder dbClusterParameterGroupName(java.lang.String dbClusterParameterGroupName)
Constraints:
If you don't specify a value for DBClusterParameterGroupName
property, a name is automatically created for the DB cluster paramter group.
This value is stored as a lowercase string.
dbClusterParameterGroupName
- The name of the DB cluster parameter group. This parameter is required.this
public CfnDBClusterParameterGroup.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An optional array of key-value pairs to apply to this DB cluster parameter group. This parameter is required.this
public CfnDBClusterParameterGroup build()