Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodbv2.model
Class DeleteRequest

java.lang.Object
  extended by com.amazonaws.services.dynamodbv2.model.DeleteRequest
All Implemented Interfaces:
java.io.Serializable

public class DeleteRequest
extends java.lang.Object
implements java.io.Serializable

Represents a request to perform a DeleteItem operation on an item.

See Also:
Serialized Form

Constructor Summary
DeleteRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Map<java.lang.String,AttributeValue> getKey()
          A map of attribute name to attribute values, representing the primary key of the item to delete.
 int hashCode()
           
 void setKey(java.util.Map<java.lang.String,AttributeValue> key)
          A map of attribute name to attribute values, representing the primary key of the item to delete.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteRequest withKey(java.util.Map<java.lang.String,AttributeValue> key)
          A map of attribute name to attribute values, representing the primary key of the item to delete.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteRequest

public DeleteRequest()
Method Detail

getKey

public java.util.Map<java.lang.String,AttributeValue> getKey()
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

Returns:
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

setKey

public void setKey(java.util.Map<java.lang.String,AttributeValue> key)
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

Parameters:
key - A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

withKey

public DeleteRequest withKey(java.util.Map<java.lang.String,AttributeValue> key)
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

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

Parameters:
key - A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.