public class CreateDBClusterParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateDBClusterParameterGroup operation
.
Creates a new DB cluster parameter group.
Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.
A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.
IMPORTANT: After you create a DB cluster parameter group, you should wait at least 5 minutes before creating your first DB cluster that uses that DB cluster parameter group as the default parameter group. This allows Amazon RDS to fully complete the create action before the DB cluster parameter group is used as the default for a new DB cluster. This is especially important for parameters that are critical when creating the default database for a DB cluster, such as the character set for the default database defined by the character_set_database parameter. You can use the Parameter Groups option of the Amazon RDS console or the DescribeDBClusterParameters command to verify that your DB cluster parameter group has been created or modified.
For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
NOOP
Constructor and Description |
---|
CreateDBClusterParameterGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDBClusterParameterGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBClusterParameterGroupName()
The name of the DB cluster parameter group.
|
String |
getDBParameterGroupFamily()
The DB cluster parameter group family name.
|
String |
getDescription()
The description for the DB cluster parameter group.
|
List<Tag> |
getTags()
A list of tags.
|
int |
hashCode() |
void |
setDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group.
|
void |
setDBParameterGroupFamily(String dBParameterGroupFamily)
The DB cluster parameter group family name.
|
void |
setDescription(String description)
The description for the DB cluster parameter group.
|
void |
setTags(Collection<Tag> tags)
A list of tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDBClusterParameterGroupRequest |
withDBClusterParameterGroupName(String dBClusterParameterGroupName)
The name of the DB cluster parameter group.
|
CreateDBClusterParameterGroupRequest |
withDBParameterGroupFamily(String dBParameterGroupFamily)
The DB cluster parameter group family name.
|
CreateDBClusterParameterGroupRequest |
withDescription(String description)
The description for the DB cluster parameter group.
|
CreateDBClusterParameterGroupRequest |
withTags(Collection<Tag> tags)
A list of tags.
|
CreateDBClusterParameterGroupRequest |
withTags(Tag... tags)
A list of tags.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateDBClusterParameterGroupRequest()
public String getDBClusterParameterGroupName()
Constraints:
Constraints:
public void setDBClusterParameterGroupName(String dBClusterParameterGroupName)
Constraints:
dBClusterParameterGroupName
- The name of the DB cluster parameter group. Constraints:
public CreateDBClusterParameterGroupRequest withDBClusterParameterGroupName(String dBClusterParameterGroupName)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBClusterParameterGroupName
- The name of the DB cluster parameter group. Constraints:
public String getDBParameterGroupFamily()
public void setDBParameterGroupFamily(String dBParameterGroupFamily)
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.public CreateDBClusterParameterGroupRequest withDBParameterGroupFamily(String dBParameterGroupFamily)
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.public String getDescription()
public void setDescription(String description)
description
- The description for the DB cluster parameter group.public CreateDBClusterParameterGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description for the DB cluster parameter group.public void setTags(Collection<Tag> tags)
tags
- A list of tags.public CreateDBClusterParameterGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public CreateDBClusterParameterGroupRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public String toString()
toString
in class Object
Object.toString()
public CreateDBClusterParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.