com.amazonaws.services.dynamodb.model
Class PutRequest

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

public class PutRequest
extends Object

A container for a Put BatchWrite request


Constructor Summary
PutRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,AttributeValue> getItem()
          The item to put
 int hashCode()
           
 void setItem(Map<String,AttributeValue> item)
          The item to put
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PutRequest withItem(Map<String,AttributeValue> item)
          The item to put
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PutRequest

public PutRequest()
Method Detail

getItem

public Map<String,AttributeValue> getItem()
The item to put

Returns:
The item to put

setItem

public void setItem(Map<String,AttributeValue> item)
The item to put

Parameters:
item - The item to put

withItem

public PutRequest withItem(Map<String,AttributeValue> item)
The item to put

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

Parameters:
item - The item to put
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.