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 request.
|
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; useful for testing and
debugging.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSourceDBParameterGroupIdentifier(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:
Must specify a valid DB parameter group.
If the source DB parameter group is in the same region as the copy,
specify a valid DB parameter group identifier, for example
my-db-param-group
, or a valid ARN.
If the source DB parameter group is in a different region than the copy,
specify a valid DB parameter group ARN, for example
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:
Must specify a valid DB parameter group.
If the source DB parameter group is in the same region as the
copy, specify a valid DB parameter group identifier, for example
my-db-param-group
, or a valid ARN.
If the source DB parameter group is in a different region than the
copy, specify a valid DB parameter group ARN, for example
arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.
public 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:
Must specify a valid DB parameter group.
If the source DB parameter group is in the same region as the copy,
specify a valid DB parameter group identifier, for example
my-db-param-group
, or a valid ARN.
If the source DB parameter group is in a different region than the copy,
specify a valid DB parameter group ARN, for example
arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.
Constraints:
Must specify a valid DB parameter group.
If the source DB parameter group is in the same region as the
copy, specify a valid DB parameter group identifier, for example
my-db-param-group
, or a valid ARN.
If the source DB parameter group is in a different region than
the copy, specify a valid DB parameter group ARN, for example
arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.
public CopyDBParameterGroupRequest withSourceDBParameterGroupIdentifier(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:
Must specify a valid DB parameter group.
If the source DB parameter group is in the same region as the copy,
specify a valid DB parameter group identifier, for example
my-db-param-group
, or a valid ARN.
If the source DB parameter group is in a different region than the copy,
specify a valid DB parameter group ARN, for example
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:
Must specify a valid DB parameter group.
If the source DB parameter group is in the same region as the
copy, specify a valid DB parameter group identifier, for example
my-db-param-group
, or a valid ARN.
If the source DB parameter group is in a different region than the
copy, specify a valid DB parameter group ARN, for example
arn:aws:rds:us-west-2:123456789012:pg:special-parameters
.
public void setTargetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier)
The identifier for the copied DB parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot 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:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot 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:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Example: my-db-parameter-group
targetDBParameterGroupIdentifier
- The identifier for the copied DB parameter group.
Constraints:
Cannot be null, empty, or blank
Must contain from 1 to 255 alphanumeric characters or hyphens
First character must be a letter
Cannot 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 Object
Object.toString()
public CopyDBParameterGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.