@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CopyDBParameterGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
CopyDBParameterGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getSourceDBParameterGroupIdentifier()
The identifier or ARN for the source DB parameter group.
|
List<Tag> |
getTags() |
String |
getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
|
String |
getTargetDBParameterGroupIdentifier()
The identifier for the copied DB parameter group.
|
int |
hashCode() |
void |
setSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
void |
setTags(Collection<Tag> tags) |
void |
setTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
void |
setTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
|
String |
toString()
Returns a string representation of this object.
|
CopyDBParameterGroupRequest |
withSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
CopyDBParameterGroupRequest |
withTags(Collection<Tag> tags) |
CopyDBParameterGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied 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, withSdkRequestTimeoutpublic void setSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
Must specify a valid DB parameter group.
sourceDBParameterGroupIdentifier - The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
Must specify a valid DB parameter group.
public String getSourceDBParameterGroupIdentifier()
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
Must specify a valid DB parameter group.
Constraints:
Must specify a valid DB parameter group.
public CopyDBParameterGroupRequest withSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
Must specify a valid DB parameter group.
sourceDBParameterGroupIdentifier - The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an ARN for Amazon RDS in the Amazon RDS User Guide.
Constraints:
Must specify a valid DB parameter group.
public void setTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
targetDBParameterGroupIdentifier - The identifier for the copied DB parameter group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
public String getTargetDBParameterGroupIdentifier()
The identifier for the copied DB parameter group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
public CopyDBParameterGroupRequest withTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
targetDBParameterGroupIdentifier - The identifier for the copied DB parameter group.
Constraints:
Can't be null, empty, or blank
Must contain from 1 to 255 letters, numbers, or hyphens
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
public void setTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription - A description for the copied DB parameter group.public String getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
public CopyDBParameterGroupRequest withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription - A description for the copied DB parameter group.public void setTags(Collection<Tag> tags)
tags - public CopyDBParameterGroupRequest 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.
tags - public CopyDBParameterGroupRequest withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CopyDBParameterGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()