public class CopyDBClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CopyDBClusterSnapshot operation
.
Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.
NOOP
Constructor and Description |
---|
CopyDBClusterSnapshotRequest() |
Modifier and Type | Method and 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()
A list of tags.
|
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)
A list of 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(Collection<Tag> tags)
A list of tags.
|
CopyDBClusterSnapshotRequest |
withTags(Tag... tags)
A list of tags.
|
CopyDBClusterSnapshotRequest |
withTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
The identifier of the new DB cluster snapshot to create from the
source DB cluster snapshot.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getSourceDBClusterSnapshotIdentifier()
Constraints:
Example: my-cluster-snapshot1
Constraints:
Example: my-cluster-snapshot1
public void setSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)
Constraints:
Example: my-cluster-snapshot1
sourceDBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot to copy. This parameter is
not case-sensitive. Constraints:
Example: my-cluster-snapshot1
public CopyDBClusterSnapshotRequest withSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)
Constraints:
Example: my-cluster-snapshot1
Returns a reference to this object so that method calls can be chained together.
sourceDBClusterSnapshotIdentifier
- The identifier of the DB cluster snapshot to copy. This parameter is
not case-sensitive. Constraints:
Example: my-cluster-snapshot1
public String getTargetDBClusterSnapshotIdentifier()
Constraints:
Example: my-cluster-snapshot2
Constraints:
Example: my-cluster-snapshot2
public void setTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
Constraints:
Example: my-cluster-snapshot2
targetDBClusterSnapshotIdentifier
- The identifier of the new DB cluster snapshot to create from the
source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
Example: my-cluster-snapshot2
public CopyDBClusterSnapshotRequest withTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)
Constraints:
Example: my-cluster-snapshot2
Returns a reference to this object so that method calls can be chained together.
targetDBClusterSnapshotIdentifier
- The identifier of the new DB cluster snapshot to create from the
source DB cluster snapshot. This parameter is not case-sensitive.
Constraints:
Example: my-cluster-snapshot2
public void setTags(Collection<Tag> tags)
tags
- A list of tags.public CopyDBClusterSnapshotRequest 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.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public CopyDBClusterSnapshotRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags.public String toString()
toString
in class Object
Object.toString()
public CopyDBClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.