Class CopyDBClusterSnapshotRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.rds.model.CopyDBClusterSnapshotRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CopyDBClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CopyDBClusterSnapshotRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyDBClusterSnapshotRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getSourceDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot to copy.List<Tag>
getTags()
String
getTargetDBClusterSnapshotIdentifier()
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot.int
hashCode()
void
setSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy.void
setTags(Collection<Tag> tags)
void
setTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot.String
toString()
Returns a string representation of this object; useful for testing and debugging.CopyDBClusterSnapshotRequest
withSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy.CopyDBClusterSnapshotRequest
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).CopyDBClusterSnapshotRequest
withTags(Collection<Tag> tags)
CopyDBClusterSnapshotRequest
withTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot.-
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
-
setSourceDBClusterSnapshotIdentifier
public void setSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot1
- Parameters:
sourceDBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot1
-
getSourceDBClusterSnapshotIdentifier
public String getSourceDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot1
- Returns:
- The identifier of the DB cluster snapshot to copy. This parameter
is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot1
-
withSourceDBClusterSnapshotIdentifier
public CopyDBClusterSnapshotRequest withSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot1
- Parameters:
sourceDBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTargetDBClusterSnapshotIdentifier
public void setTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot2
- Parameters:
targetDBClusterSnapshotIdentifier
- The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot2
-
getTargetDBClusterSnapshotIdentifier
public String getTargetDBClusterSnapshotIdentifier()
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot2
- Returns:
- The identifier of the new DB cluster snapshot to create from the
source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot2
-
withTargetDBClusterSnapshotIdentifier
public CopyDBClusterSnapshotRequest withTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot2
- Parameters:
targetDBClusterSnapshotIdentifier
- The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.Constraints:
- Must contain from 1 to 63 alphanumeric characters or hyphens.
- First character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-cluster-snapshot2
- 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 CopyDBClusterSnapshotRequest 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 CopyDBClusterSnapshotRequest 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 CopyDBClusterSnapshotRequest 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()
-
-