public class CopyDBParameterGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
sourceDBParameterGroupIdentifier
The identifier or ARN for the source DB parameter group.
|
private SdkInternalList<Tag> |
tags |
private java.lang.String |
targetDBParameterGroupDescription
A description for the copied DB parameter group.
|
private java.lang.String |
targetDBParameterGroupIdentifier
The identifier for the copied 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(java.lang.Object obj) |
java.lang.String |
getSourceDBParameterGroupIdentifier()
The identifier or ARN for the source DB parameter group.
|
java.util.List<Tag> |
getTags() |
java.lang.String |
getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
|
java.lang.String |
getTargetDBParameterGroupIdentifier()
The identifier for the copied DB parameter group.
|
int |
hashCode() |
void |
setSourceDBParameterGroupIdentifier(java.lang.String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
void |
setTags(java.util.Collection<Tag> tags) |
void |
setTargetDBParameterGroupDescription(java.lang.String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
void |
setTargetDBParameterGroupIdentifier(java.lang.String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopyDBParameterGroupRequest |
withSourceDBParameterGroupIdentifier(java.lang.String sourceDBParameterGroupIdentifier)
The identifier or ARN for the source DB parameter group.
|
CopyDBParameterGroupRequest |
withTags(java.util.Collection<Tag> tags) |
CopyDBParameterGroupRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any).
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupDescription(java.lang.String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
|
CopyDBParameterGroupRequest |
withTargetDBParameterGroupIdentifier(java.lang.String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String 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
.private java.lang.String targetDBParameterGroupIdentifier
The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
private java.lang.String targetDBParameterGroupDescription
A description for the copied DB parameter group.
private SdkInternalList<Tag> tags
public void setSourceDBParameterGroupIdentifier(java.lang.String 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
.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 java.lang.String getSourceDBParameterGroupIdentifier()
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
.Constraints:
my-db-param-group
, or a valid ARN.arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.public CopyDBParameterGroupRequest withSourceDBParameterGroupIdentifier(java.lang.String 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
.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 void setTargetDBParameterGroupIdentifier(java.lang.String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
public java.lang.String getTargetDBParameterGroupIdentifier()
The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
Constraints:
Example: my-db-parameter-group
public CopyDBParameterGroupRequest withTargetDBParameterGroupIdentifier(java.lang.String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group.
Constraints:
Example: my-db-parameter-group
public void setTargetDBParameterGroupDescription(java.lang.String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription
- A description for the copied DB parameter group.public java.lang.String getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
public CopyDBParameterGroupRequest withTargetDBParameterGroupDescription(java.lang.String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
targetDBParameterGroupDescription
- A description for the copied DB parameter group.public java.util.List<Tag> getTags()
public void setTags(java.util.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(java.util.Collection<Tag> tags)
tags
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CopyDBParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()