public class CopyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CopyDBParameterGroup operation
.
Copies the specified DB parameter group.
NOOP
Constructor and Description |
---|
CopyDBParameterGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CopyDBParameterGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getSourceDBParameterGroupIdentifier()
The identifier or ARN for the source DB parameter group.
|
List<Tag> |
getTags()
A list of tags.
|
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)
A list of 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; useful for testing and
debugging.
|
CopyDBParameterGroupRequest |
withSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
CopyDBParameterGroupRequest |
withTags(Collection<Tag> tags)
A list of tags.
|
CopyDBParameterGroupRequest |
withTags(Tag... tags)
A list of tags.
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public String getSourceDBParameterGroupIdentifier()
Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.public void setSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.sourceDBParameterGroupIdentifier
- The identifier or ARN for the source DB parameter group. For
information about creating an ARN, see
Constructing an RDS Amazon Resource Name (ARN). Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.public CopyDBParameterGroupRequest withSourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier)
Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.Returns a reference to this object so that method calls can be chained together.
sourceDBParameterGroupIdentifier
- The identifier or ARN for the source DB parameter group. For
information about creating an ARN, see
Constructing an RDS Amazon Resource Name (ARN). Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.public String getTargetDBParameterGroupIdentifier()
Constraints:
Example:
my-db-parameter-group
Constraints:
Example:
my-db-parameter-group
public void setTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
Constraints:
Example:
my-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group. Constraints:
Example:
my-db-parameter-group
public CopyDBParameterGroupRequest withTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
Constraints:
Example:
my-db-parameter-group
Returns a reference to this object so that method calls can be chained together.
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group. Constraints:
Example:
my-db-parameter-group
public String getTargetDBParameterGroupDescription()
public void setTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
targetDBParameterGroupDescription
- A description for the copied DB parameter group.public CopyDBParameterGroupRequest withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
Returns a reference to this object so that method calls can be chained together.
targetDBParameterGroupDescription
- A description for the copied DB parameter group.public void setTags(Collection<Tag> tags)
tags
- A list of 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.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public CopyDBParameterGroupRequest 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 CopyDBParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.