com.amazonaws.services.dynamodb.model
Class BatchWriteItemResult

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

public class BatchWriteItemResult
extends Object

A container for BatchWriteItem response


Constructor Summary
BatchWriteItemResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,BatchWriteResponse> getResponses()
          The response object as a result of BatchWriteItem call.
 Map<String,List<WriteRequest>> getUnprocessedItems()
          The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems
 int hashCode()
           
 void setResponses(Map<String,BatchWriteResponse> responses)
          The response object as a result of BatchWriteItem call.
 void setUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
          The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BatchWriteItemResult withResponses(Map<String,BatchWriteResponse> responses)
          The response object as a result of BatchWriteItem call.
 BatchWriteItemResult withUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
          The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchWriteItemResult

public BatchWriteItemResult()
Method Detail

getResponses

public Map<String,BatchWriteResponse> getResponses()
The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.

Returns:
The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.

setResponses

public void setResponses(Map<String,BatchWriteResponse> responses)
The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.

Parameters:
responses - The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.

withResponses

public BatchWriteItemResult withResponses(Map<String,BatchWriteResponse> responses)
The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.

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

Parameters:
responses - The response object as a result of BatchWriteItem call. This is essentially a map of table name to ConsumedCapacityUnits.
Returns:
A reference to this updated object so that method calls can be chained together.

getUnprocessedItems

public Map<String,List<WriteRequest>> getUnprocessedItems()
The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems

Constraints:
Length: 1 - 25

Returns:
The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems

setUnprocessedItems

public void setUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems

Constraints:
Length: 1 - 25

Parameters:
unprocessedItems - The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems

withUnprocessedItems

public BatchWriteItemResult withUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems

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

Constraints:
Length: 1 - 25

Parameters:
unprocessedItems - The Items which we could not successfully process in a BatchWriteItem call is returned as UnprocessedItems
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.