public class DeleteClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
DeleteClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getSnapshotIdentifier()
Constraints: Must be the name of an existing snapshot that is in
the available
state.
Constraints: Must be the name of an existing snapshot that is in
the available
state.
public void setSnapshotIdentifier(String snapshotIdentifier)
Constraints: Must be the name of an existing snapshot that is in
the available
state.
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.
public DeleteClusterSnapshotRequest withSnapshotIdentifier(String snapshotIdentifier)
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.
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.
public String getSnapshotClusterIdentifier()
Constraints: Must be the name of valid cluster.
Constraints: Must be the name of valid cluster.
public void setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
Constraints: Must be the name of valid cluster.
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.
public DeleteClusterSnapshotRequest withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
Constraints: Must be the name of valid cluster.
Returns a reference to this object so that method calls can be chained together.
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.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.