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, with no other users authorized to access the snapshot.

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. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.

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

Constructor Summary
DeleteClusterSnapshotRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getSnapshotClusterIdentifier()
          The unique identifier of the cluster the snapshot was created from.
 String getSnapshotIdentifier()
          The unique identifier of the manual snapshot to be deleted.
 int hashCode()
           
 void setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
          The unique identifier of the cluster the snapshot was created from.
 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 withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
          The unique identifier of the cluster the snapshot was created from.
 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.

getSnapshotClusterIdentifier

public String getSnapshotClusterIdentifier()
The unique identifier of the cluster the 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: Must be the name of valid cluster.

Returns:
The unique identifier of the cluster the 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: Must be the name of valid cluster.


setSnapshotClusterIdentifier

public void setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The unique identifier of the cluster the 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: Must be the name of valid cluster.

Parameters:
snapshotClusterIdentifier - The unique identifier of the cluster the 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: Must be the name of valid cluster.


withSnapshotClusterIdentifier

public DeleteClusterSnapshotRequest withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
The unique identifier of the cluster the 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: Must be the name of valid cluster.

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

Parameters:
snapshotClusterIdentifier - The unique identifier of the cluster the 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: Must be the name of valid cluster.

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.