|
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.DeleteClusterSnapshotRequest
public class DeleteClusterSnapshotRequest
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.
AmazonRedshift.deleteClusterSnapshot(DeleteClusterSnapshotRequest)
,
Serialized FormConstructor 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 |
---|
public DeleteClusterSnapshotRequest()
Method Detail |
---|
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()
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 |