public class CopyClusterSnapshotRequest extends AmazonWebServiceRequest implements java.io.Serializable
CopyClusterSnapshot operation.
Copies the specified automated cluster snapshot to a new manual cluster snapshot. The source must be an automated snapshot and it must be in the available state.
When you delete a cluster, Amazon Redshift deletes any automated snapshots of the cluster. Also, when the retention period of the snapshot expires, Amazon Redshift automatically deletes it. If you want to keep an automated snapshot for a longer period, you can make a manual copy of the snapshot. Manual snapshots are retained until you delete them.
For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Management Guide .
| コンストラクタと説明 |
|---|
CopyClusterSnapshotRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
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 |
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 |
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getSourceSnapshotIdentifier()
Constraints:
Constraints:
public void setSourceSnapshotIdentifier(java.lang.String sourceSnapshotIdentifier)
Constraints:
sourceSnapshotIdentifier - The identifier for the source snapshot. Constraints:
public CopyClusterSnapshotRequest withSourceSnapshotIdentifier(java.lang.String sourceSnapshotIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
sourceSnapshotIdentifier - The identifier for the source snapshot. Constraints:
public java.lang.String getTargetSnapshotIdentifier()
Constraints:
Constraints:
public void setTargetSnapshotIdentifier(java.lang.String targetSnapshotIdentifier)
Constraints:
targetSnapshotIdentifier - The identifier given to the new manual snapshot. Constraints:
public CopyClusterSnapshotRequest withTargetSnapshotIdentifier(java.lang.String targetSnapshotIdentifier)
Constraints:
Returns a reference to this object so that method calls can be chained together.
targetSnapshotIdentifier - The identifier given to the new manual snapshot. Constraints:
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object