public class DeleteDBSnapshotRequest extends AmazonWebServiceRequest implements Serializable
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.
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 |
---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public 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 Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.