public class CreateDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable
CreateDBParameterGroup operation
.
Creates a new DB parameter group.
A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup . Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance . When you associate a new DB parameter group with a running DB instance, you need to reboot the DB Instance for the new DB parameter group and associated settings to take effect.
NOOP
Constructor and Description |
---|
CreateDBParameterGroupRequest()
Default constructor for a new CreateDBParameterGroupRequest object.
|
CreateDBParameterGroupRequest(String dBParameterGroupName,
String dBParameterGroupFamily,
String description)
Constructs a new CreateDBParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDBParameterGroupFamily()
The DB parameter group family name.
|
String |
getDBParameterGroupName()
The name of the DB parameter group.
|
String |
getDescription()
The description for the DB parameter group.
|
List<Tag> |
getTags()
A list of tags.
|
int |
hashCode() |
void |
setDBParameterGroupFamily(String dBParameterGroupFamily)
The DB parameter group family name.
|
void |
setDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
|
void |
setDescription(String description)
The description for the DB 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.
|
CreateDBParameterGroupRequest |
withDBParameterGroupFamily(String dBParameterGroupFamily)
The DB parameter group family name.
|
CreateDBParameterGroupRequest |
withDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
|
CreateDBParameterGroupRequest |
withDescription(String description)
The description for the DB parameter group.
|
CreateDBParameterGroupRequest |
withTags(Collection<Tag> tags)
A list of tags.
|
CreateDBParameterGroupRequest |
withTags(Tag... tags)
A list of tags.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateDBParameterGroupRequest()
public CreateDBParameterGroupRequest(String dBParameterGroupName, String dBParameterGroupFamily, String description)
dBParameterGroupName
- The name of the DB parameter group. Constraints:
dBParameterGroupFamily
- The DB parameter group family name. A DB
parameter group can be associated with one and only one DB parameter
group family, and can be applied only to a DB instance running a
database engine and engine version compatible with that DB parameter
group family.description
- The description for the DB parameter group.public String getDBParameterGroupName()
Constraints:
Constraints:
public void setDBParameterGroupName(String dBParameterGroupName)
Constraints:
dBParameterGroupName
- The name of the DB parameter group. Constraints:
public CreateDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
Constraints:
Returns a reference to this object so that method calls can be chained together.
dBParameterGroupName
- The name of the DB parameter group. Constraints:
public String getDBParameterGroupFamily()
public void setDBParameterGroupFamily(String dBParameterGroupFamily)
dBParameterGroupFamily
- The DB parameter group family name. A DB parameter group can be
associated with one and only one DB parameter group family, and can be
applied only to a DB instance running a database engine and engine
version compatible with that DB parameter group family.public CreateDBParameterGroupRequest withDBParameterGroupFamily(String dBParameterGroupFamily)
Returns a reference to this object so that method calls can be chained together.
dBParameterGroupFamily
- The DB parameter group family name. A DB parameter group can be
associated with one and only one DB parameter group family, and can be
applied only to a DB instance running a database engine and engine
version compatible with that DB parameter group family.public String getDescription()
public void setDescription(String description)
description
- The description for the DB parameter group.public CreateDBParameterGroupRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description for the DB parameter group.public void setTags(Collection<Tag> tags)
tags
- A list of tags.public CreateDBParameterGroupRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public CreateDBParameterGroupRequest 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()
Copyright © 2014. All rights reserved.