public class CopyClusterSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
sourceSnapshotClusterIdentifier
The identifier of the cluster the source snapshot was created from.
|
private java.lang.String |
sourceSnapshotIdentifier
The identifier for the source snapshot.
|
private java.lang.String |
targetSnapshotIdentifier
The identifier given to the new manual snapshot.
|
NOOP
Constructor and Description |
---|
CopyClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CopyClusterSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSourceSnapshotClusterIdentifier()
The identifier of the cluster the source snapshot was created from.
|
java.lang.String |
getSourceSnapshotIdentifier()
The identifier for the source snapshot.
|
java.lang.String |
getTargetSnapshotIdentifier()
The identifier given to the new manual snapshot.
|
int |
hashCode() |
void |
setSourceSnapshotClusterIdentifier(java.lang.String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from.
|
void |
setSourceSnapshotIdentifier(java.lang.String sourceSnapshotIdentifier)
The identifier for the source snapshot.
|
void |
setTargetSnapshotIdentifier(java.lang.String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopyClusterSnapshotRequest |
withSourceSnapshotClusterIdentifier(java.lang.String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from.
|
CopyClusterSnapshotRequest |
withSourceSnapshotIdentifier(java.lang.String sourceSnapshotIdentifier)
The identifier for the source snapshot.
|
CopyClusterSnapshotRequest |
withTargetSnapshotIdentifier(java.lang.String targetSnapshotIdentifier)
The identifier given to the new manual 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 sourceSnapshotIdentifier
The identifier for the source snapshot.
Constraints:
available
.private java.lang.String sourceSnapshotClusterIdentifier
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
private java.lang.String targetSnapshotIdentifier
The identifier given to the new manual snapshot.
Constraints:
public void setSourceSnapshotIdentifier(java.lang.String sourceSnapshotIdentifier)
The identifier for the source snapshot.
Constraints:
available
.sourceSnapshotIdentifier
- The identifier for the source snapshot.
Constraints:
available
.public java.lang.String getSourceSnapshotIdentifier()
The identifier for the source snapshot.
Constraints:
available
.Constraints:
available
.public CopyClusterSnapshotRequest withSourceSnapshotIdentifier(java.lang.String sourceSnapshotIdentifier)
The identifier for the source snapshot.
Constraints:
available
.sourceSnapshotIdentifier
- The identifier for the source snapshot.
Constraints:
available
.public void setSourceSnapshotClusterIdentifier(java.lang.String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
sourceSnapshotClusterIdentifier
- The identifier of the cluster the source snapshot was created
from. This parameter is required if your IAM user has a policy
containing a snapshot resource element that specifies anything
other than * for the cluster name.
Constraints:
public java.lang.String getSourceSnapshotClusterIdentifier()
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
Constraints:
public CopyClusterSnapshotRequest withSourceSnapshotClusterIdentifier(java.lang.String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints:
sourceSnapshotClusterIdentifier
- The identifier of the cluster the source snapshot was created
from. This parameter is required if your IAM user has a policy
containing a snapshot resource element that specifies anything
other than * for the cluster name.
Constraints:
public void setTargetSnapshotIdentifier(java.lang.String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.
Constraints:
targetSnapshotIdentifier
- The identifier given to the new manual snapshot.
Constraints:
public java.lang.String getTargetSnapshotIdentifier()
The identifier given to the new manual snapshot.
Constraints:
Constraints:
public CopyClusterSnapshotRequest withTargetSnapshotIdentifier(java.lang.String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.
Constraints:
targetSnapshotIdentifier
- The identifier given to the new manual snapshot.
Constraints:
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 CopyClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()