|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.BatchResponse
public class BatchResponse
The item attributes from a response in a specific table, along with the read resources consumed on the table during the request.
Constructor Summary | |
---|---|
BatchResponse()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Double |
getConsumedCapacityUnits()
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
List<Map<String,AttributeValue>> |
getItems()
Returns the value of the Items property for this object. |
int |
hashCode()
|
void |
setConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
void |
setItems(Collection<Map<String,AttributeValue>> items)
Sets the value of the Items property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
BatchResponse |
withConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
BatchResponse |
withItems(Collection<Map<String,AttributeValue>> items)
Sets the value of the Items property for this object. |
BatchResponse |
withItems(Map<String,AttributeValue>... items)
Sets the value of the Items property for this object. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BatchResponse()
Method Detail |
---|
public List<Map<String,AttributeValue>> getItems()
public void setItems(Collection<Map<String,AttributeValue>> items)
items
- The new value for the Items property for this object.public BatchResponse withItems(Map<String,AttributeValue>... items)
Returns a reference to this object so that method calls can be chained together.
items
- The new value for the Items property for this object.
public BatchResponse withItems(Collection<Map<String,AttributeValue>> items)
Returns a reference to this object so that method calls can be chained together.
items
- The new value for the Items property for this object.
public Double getConsumedCapacityUnits()
public void setConsumedCapacityUnits(Double consumedCapacityUnits)
consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem, BatchGetItem, Query, and
Scan operations consume Read Capacity Units, while PutItem,
UpdateItem, and DeleteItem operations consume Write Capacity Units.public BatchResponse withConsumedCapacityUnits(Double consumedCapacityUnits)
Returns a reference to this object so that method calls can be chained together.
consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem, BatchGetItem, Query, and
Scan operations consume Read Capacity Units, while PutItem,
UpdateItem, and DeleteItem operations consume Write Capacity Units.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |