@Deprecated public class BatchResponse extends Object implements Serializable
The item attributes from a response in a specific table, along with the read resources consumed on the table during the request.
Constructor and Description |
---|
BatchResponse()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
Double |
getConsumedCapacityUnits()
Deprecated.
The number of Capacity Units of the provisioned throughput of the
table consumed during the operation.
|
List<Map<String,AttributeValue>> |
getItems()
Deprecated.
Returns the value of the Items property for this object.
|
int |
hashCode()
Deprecated.
|
void |
setConsumedCapacityUnits(Double consumedCapacityUnits)
Deprecated.
The number of Capacity Units of the provisioned throughput of the
table consumed during the operation.
|
void |
setItems(Collection<Map<String,AttributeValue>> items)
Deprecated.
Sets the value of the Items property for this object.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
BatchResponse |
withConsumedCapacityUnits(Double consumedCapacityUnits)
Deprecated.
The number of Capacity Units of the provisioned throughput of the
table consumed during the operation.
|
BatchResponse |
withItems(Collection<Map<String,AttributeValue>> items)
Deprecated.
Sets the value of the Items property for this object.
|
BatchResponse |
withItems(Map<String,AttributeValue>... items)
Deprecated.
Sets the value of the Items property for this object.
|
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()
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.public void setConsumedCapacityUnits(Double consumedCapacityUnits)
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.public BatchResponse withConsumedCapacityUnits(Double consumedCapacityUnits)
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.
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
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.