Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.redshift.model
Class DeleteClusterSnapshotRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.redshift.model.DeleteClusterSnapshotRequest
All Implemented Interfaces:
Serializable

public class DeleteClusterSnapshotRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteClusterSnapshot operation.

Deletes the specified manual snapshot. The snapshot must be in the "available" state.

Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged.

See Also:
AmazonRedshift.deleteClusterSnapshot(DeleteClusterSnapshotRequest), Serialized Form

Constructor Summary
DeleteClusterSnapshotRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSnapshotIdentifier()
          The unique identifier of the manual snapshot to be deleted.
 int hashCode()
           
 void setSnapshotIdentifier(String snapshotIdentifier)
          The unique identifier of the manual snapshot to be deleted.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)
          The unique identifier of the manual snapshot to be deleted.
 
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

DeleteClusterSnapshotRequest

public DeleteClusterSnapshotRequest()
Method Detail

getSnapshotIdentifier

public String getSnapshotIdentifier()
The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available state.

Returns:
The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available state.


setSnapshotIdentifier

public void setSnapshotIdentifier(String snapshotIdentifier)
The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available state.

Parameters:
snapshotIdentifier - The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available state.


withSnapshotIdentifier

public DeleteClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)
The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available state.

Returns a reference to this object so that method calls can be chained together.

Parameters:
snapshotIdentifier - The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available state.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.