com.amazonaws.services.dynamodb.model
Class DeleteRequest

java.lang.Object
  extended by com.amazonaws.services.dynamodb.model.DeleteRequest

public class DeleteRequest
extends Object

A container for a Delete BatchWrite request


Constructor Summary
DeleteRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Key getKey()
          The item's key to be delete
 int hashCode()
           
 void setKey(Key key)
          The item's key to be delete
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteRequest withKey(Key key)
          The item's key to be delete
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRequest

public DeleteRequest()
Method Detail

getKey

public Key getKey()
The item's key to be delete

Returns:
The item's key to be delete

setKey

public void setKey(Key key)
The item's key to be delete

Parameters:
key - The item's key to be delete

withKey

public DeleteRequest withKey(Key key)
The item's key to be delete

Returns a reference to this object so that method calls can be chained together.

Parameters:
key - The item's key to be delete
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.