public class DeleteDBSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteDBSnapshot operation.
Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.
NOTE:The DBSnapshot must be in the available state to be deleted.
NOOP| Constructor and Description |
|---|
DeleteDBSnapshotRequest()
Default constructor for a new DeleteDBSnapshotRequest object.
|
DeleteDBSnapshotRequest(String dBSnapshotIdentifier)
Constructs a new DeleteDBSnapshotRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteDBSnapshotRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDBSnapshotIdentifier()
The DBSnapshot identifier.
|
int |
hashCode() |
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The DBSnapshot identifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDBSnapshotRequest |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The DBSnapshot identifier.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DeleteDBSnapshotRequest()
public DeleteDBSnapshotRequest(String dBSnapshotIdentifier)
dBSnapshotIdentifier - The DBSnapshot identifier. Constraints:
Must be the name of an existing DB snapshot in the
available state.
public String getDBSnapshotIdentifier()
Constraints: Must be the name of an
existing DB snapshot in the available state.
Constraints: Must be the name of an
existing DB snapshot in the available state.
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Constraints: Must be the name of an
existing DB snapshot in the available state.
dBSnapshotIdentifier - The DBSnapshot identifier. Constraints: Must be the name of an
existing DB snapshot in the available state.
public DeleteDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Constraints: Must be the name of an
existing DB snapshot in the available state.
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier - The DBSnapshot identifier. Constraints: Must be the name of an
existing DB snapshot in the available state.
public String toString()
toString in class ObjectObject.toString()public DeleteDBSnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.