@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDBParameterGroupRequest()
Default constructor for CreateDBParameterGroupRequest object.
|
CreateDBParameterGroupRequest(String dBParameterGroupName,
String dBParameterGroupFamily,
String description)
Constructs a new CreateDBParameterGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
CreateDBParameterGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
Tags to assign to the DB parameter group.
|
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)
Tags to assign to the DB parameter group.
|
String |
toString()
Returns a string representation of this object.
|
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)
Tags to assign to the DB parameter group.
|
CreateDBParameterGroupRequest |
withTags(Tag... tags)
Tags to assign to the DB parameter group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateDBParameterGroupRequest()
public CreateDBParameterGroupRequest(String dBParameterGroupName, String dBParameterGroupFamily, String description)
dBParameterGroupName
- The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
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.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
description
- The description for the DB parameter group.public void setDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
dBParameterGroupName
- The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
public String getDBParameterGroupName()
The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
public CreateDBParameterGroupRequest withDBParameterGroupName(String dBParameterGroupName)
The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
dBParameterGroupName
- The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
public void setDBParameterGroupFamily(String 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.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
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.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
public String getDBParameterGroupFamily()
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.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
public CreateDBParameterGroupRequest withDBParameterGroupFamily(String 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.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
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.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora-mysql
aurora-postgresql
db2-ae
db2-se
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
public void setDescription(String description)
The description for the DB parameter group.
description
- The description for the DB parameter group.public String getDescription()
The description for the DB parameter group.
public CreateDBParameterGroupRequest withDescription(String description)
The description for the DB parameter group.
description
- The description for the DB parameter group.public List<Tag> getTags()
Tags to assign to the DB parameter group.
public void setTags(Collection<Tag> tags)
Tags to assign to the DB parameter group.
tags
- Tags to assign to the DB parameter group.public CreateDBParameterGroupRequest withTags(Tag... tags)
Tags to assign to the DB parameter group.
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.
tags
- Tags to assign to the DB parameter group.public CreateDBParameterGroupRequest withTags(Collection<Tag> tags)
Tags to assign to the DB parameter group.
tags
- Tags to assign to the DB parameter group.public String toString()
toString
in class Object
Object.toString()
public CreateDBParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()