Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DeleteDBSnapshotRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.rds.model.DeleteDBSnapshotRequest
All Implemented Interfaces:
Serializable

public class DeleteDBSnapshotRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteDBSnapshot operation.

Deletes a DBSnapshot.

NOTE:The DBSnapshot must be in the available state to be deleted.

See Also:
AmazonRDS.deleteDBSnapshot(DeleteDBSnapshotRequest), Serialized Form

Constructor Summary
DeleteDBSnapshotRequest()
          Default constructor for a new DeleteDBSnapshotRequest object.
DeleteDBSnapshotRequest(String dBSnapshotIdentifier)
          Constructs a new DeleteDBSnapshotRequest object.
 
Method Summary
 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.
 
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

DeleteDBSnapshotRequest

public DeleteDBSnapshotRequest()
Default constructor for a new DeleteDBSnapshotRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteDBSnapshotRequest

public DeleteDBSnapshotRequest(String dBSnapshotIdentifier)
Constructs a new DeleteDBSnapshotRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
dBSnapshotIdentifier - The DBSnapshot identifier.

Constraints: Must be the name of an existing DB Snapshot in the available state.

Method Detail

getDBSnapshotIdentifier

public String getDBSnapshotIdentifier()
The DBSnapshot identifier.

Constraints: Must be the name of an existing DB Snapshot in the available state.

Returns:
The DBSnapshot identifier.

Constraints: Must be the name of an existing DB Snapshot in the available state.


setDBSnapshotIdentifier

public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The DBSnapshot identifier.

Constraints: Must be the name of an existing DB Snapshot in the available state.

Parameters:
dBSnapshotIdentifier - The DBSnapshot identifier.

Constraints: Must be the name of an existing DB Snapshot in the available state.


withDBSnapshotIdentifier

public DeleteDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The DBSnapshot identifier.

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.

Parameters:
dBSnapshotIdentifier - The DBSnapshot identifier.

Constraints: Must be the name of an existing DB Snapshot in the available state.

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.