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 CopyDBClusterSnapshotRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetSourceDBClusterSnapshotIdentifier()The identifier of the DB cluster snapshot to copy.List<Tag>getTags()StringgetTargetDBClusterSnapshotIdentifier()The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot.inthashCode()voidsetSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)The identifier of the DB cluster snapshot to copy.voidsetTags(Collection<Tag> tags)voidsetTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot.StringtoString()Returns a string representation of this object; useful for testing and debugging.CopyDBClusterSnapshotRequestwithSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)The identifier of the DB cluster snapshot to copy.CopyDBClusterSnapshotRequestwithTags(Tag... tags)NOTE: This method appends the values to the existing list (if any).CopyDBClusterSnapshotRequestwithTags(Collection<Tag> tags)CopyDBClusterSnapshotRequestwithTargetDBClusterSnapshotIdentifier(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CopyDBClusterSnapshotRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-