|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.dynamodb.model.BatchWriteItemRequest
public class BatchWriteItemRequest
Container for the parameters to the BatchWriteItem operation.
Allows to execute a batch of Put and/or Delete Requests for many tables in a single call. A total of 25 requests are allowed.
There are no transaction guarantees provided by this API. It does not allow conditional puts nor does it support return values.
AmazonDynamoDB.batchWriteItem(BatchWriteItemRequest)| Constructor Summary | |
|---|---|
BatchWriteItemRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Map<String,List<WriteRequest>> |
getRequestItems()
A map of table name to list-of-write-requests. |
int |
hashCode()
|
void |
setRequestItems(Map<String,List<WriteRequest>> requestItems)
A map of table name to list-of-write-requests. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BatchWriteItemRequest |
withRequestItems(Map<String,List<WriteRequest>> requestItems)
A map of table name to list-of-write-requests. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BatchWriteItemRequest()
| Method Detail |
|---|
public Map<String,List<WriteRequest>> getRequestItems()
BatchWriteItem API call
Constraints:
Length: 1 - 25
BatchWriteItem API callpublic void setRequestItems(Map<String,List<WriteRequest>> requestItems)
BatchWriteItem API call
Constraints:
Length: 1 - 25
requestItems - A map of table name to list-of-write-requests. Used as input to the
BatchWriteItem API callpublic BatchWriteItemRequest withRequestItems(Map<String,List<WriteRequest>> requestItems)
BatchWriteItem API call
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 25
requestItems - A map of table name to list-of-write-requests. Used as input to the
BatchWriteItem API call
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||