public class CopyDBClusterSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
sourceDBClusterSnapshotIdentifier
The identifier of the DB cluster snapshot to copy.
|
private SdkInternalList<Tag> |
tags |
private java.lang.String |
targetDBClusterSnapshotIdentifier
The identifier of the new DB cluster snapshot to create from the source
DB cluster snapshot.
|
NOOP
Constructor and Description |
---|
CopyDBClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CopyDBClusterSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSourceDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot to copy.
|
java.util.List<Tag> |
getTags() |
java.lang.String |
getTargetDBClusterSnapshotIdentifier()
The identifier of the new DB cluster snapshot to create from the source
DB cluster snapshot.
|
int |
hashCode() |
void |
setSourceDBClusterSnapshotIdentifier(java.lang.String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy.
|
void |
setTags(java.util.Collection<Tag> tags) |
void |
setTargetDBClusterSnapshotIdentifier(java.lang.String targetDBClusterSnapshotIdentifier)
The identifier of the new DB cluster snapshot to create from the source
DB cluster snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopyDBClusterSnapshotRequest |
withSourceDBClusterSnapshotIdentifier(java.lang.String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy.
|
CopyDBClusterSnapshotRequest |
withTags(java.util.Collection<Tag> tags) |
CopyDBClusterSnapshotRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any).
|
CopyDBClusterSnapshotRequest |
withTargetDBClusterSnapshotIdentifier(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String sourceDBClusterSnapshotIdentifier
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
Constraints:
Example: my-cluster-snapshot1
private java.lang.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:
Example: my-cluster-snapshot2
private SdkInternalList<Tag> tags
public void setSourceDBClusterSnapshotIdentifier(java.lang.String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
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 java.lang.String getSourceDBClusterSnapshotIdentifier()
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
Constraints:
Example: my-cluster-snapshot1
Constraints:
Example: my-cluster-snapshot1
public CopyDBClusterSnapshotRequest withSourceDBClusterSnapshotIdentifier(java.lang.String sourceDBClusterSnapshotIdentifier)
The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.
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 void setTargetDBClusterSnapshotIdentifier(java.lang.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:
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 java.lang.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:
Example: my-cluster-snapshot2
Constraints:
Example: my-cluster-snapshot2
public CopyDBClusterSnapshotRequest withTargetDBClusterSnapshotIdentifier(java.lang.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:
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 java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
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.
tags
- public CopyDBClusterSnapshotRequest withTags(java.util.Collection<Tag> tags)
tags
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CopyDBClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()