Class CopyDBParameterGroupRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.CopyDBParameterGroupRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CopyDBParameterGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CopyDBParameterGroupRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Tag... tags)
NOTE: This method appends the values to the existing list (if any).CopyDBParameterGroupRequest
withTags(Collection<Tag> 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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setSourceDBParameterGroupIdentifier
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
.
- 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
.
-
getSourceDBParameterGroupIdentifier
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
.
- Returns:
- 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
.
-
withSourceDBParameterGroupIdentifier
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
.
- 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
.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetDBParameterGroupIdentifier
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
- Parameters:
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
-
getTargetDBParameterGroupIdentifier
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
- Returns:
- 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
-
withTargetDBParameterGroupIdentifier
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetDBParameterGroupDescription
public void setTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
- Parameters:
targetDBParameterGroupDescription
- A description for the copied DB parameter group.
-
getTargetDBParameterGroupDescription
public String getTargetDBParameterGroupDescription()
A description for the copied DB parameter group.
- Returns:
- A description for the copied DB parameter group.
-
withTargetDBParameterGroupDescription
public CopyDBParameterGroupRequest withTargetDBParameterGroupDescription(String targetDBParameterGroupDescription)
A description for the copied DB parameter group.
- Parameters:
targetDBParameterGroupDescription
- A description for the copied DB parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTags
public void setTags(Collection<Tag> tags)
- Parameters:
tags
-
-
withTags
public CopyDBParameterGroupRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
public CopyDBParameterGroupRequest withTags(Collection<Tag> tags)
- Parameters:
tags
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CopyDBParameterGroupRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-