|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.redshift.model.CopyClusterSnapshotRequest
public class CopyClusterSnapshotRequest
Container for the parameters to the 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 .
AmazonRedshift.copyClusterSnapshot(CopyClusterSnapshotRequest)
,
Serialized FormConstructor Summary | |
---|---|
CopyClusterSnapshotRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getSourceSnapshotIdentifier()
The identifier for the source snapshot. |
String |
getTargetSnapshotIdentifier()
The identifier given to the new manual snapshot. |
int |
hashCode()
|
void |
setSourceSnapshotIdentifier(String sourceSnapshotIdentifier)
The identifier for the source snapshot. |
void |
setTargetSnapshotIdentifier(String targetSnapshotIdentifier)
The identifier given to the new manual snapshot. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CopyClusterSnapshotRequest |
withSourceSnapshotIdentifier(String sourceSnapshotIdentifier)
The identifier for the source snapshot. |
CopyClusterSnapshotRequest |
withTargetSnapshotIdentifier(String targetSnapshotIdentifier)
The identifier given to the new manual snapshot. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopyClusterSnapshotRequest()
Method Detail |
---|
public String getSourceSnapshotIdentifier()
Constraints:
Constraints:
public void setSourceSnapshotIdentifier(String sourceSnapshotIdentifier)
Constraints:
sourceSnapshotIdentifier
- The identifier for the source snapshot. Constraints:
public CopyClusterSnapshotRequest withSourceSnapshotIdentifier(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 String getTargetSnapshotIdentifier()
Constraints:
Constraints:
public void setTargetSnapshotIdentifier(String targetSnapshotIdentifier)
Constraints:
targetSnapshotIdentifier
- The identifier given to the new manual snapshot. Constraints:
public CopyClusterSnapshotRequest withTargetSnapshotIdentifier(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |