|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.PutItemResult
public class PutItemResult
Put Item Result
Constructor Summary | |
---|---|
PutItemResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Map<String,AttributeValue> |
getAttributes()
Attribute values before the put operation, but only if the ReturnValues parameter is specified as
ALL_OLD in the request. |
Double |
getConsumedCapacityUnits()
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
int |
hashCode()
|
void |
setAttributes(Map<String,AttributeValue> attributes)
Attribute values before the put operation, but only if the ReturnValues parameter is specified as
ALL_OLD in the request. |
void |
setConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PutItemResult |
withAttributes(Map<String,AttributeValue> attributes)
Attribute values before the put operation, but only if the ReturnValues parameter is specified as
ALL_OLD in the request. |
PutItemResult |
withConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PutItemResult()
Method Detail |
---|
public Map<String,AttributeValue> getAttributes()
ReturnValues
parameter is specified as
ALL_OLD
in the request.
ReturnValues
parameter is specified as
ALL_OLD
in the request.public void setAttributes(Map<String,AttributeValue> attributes)
ReturnValues
parameter is specified as
ALL_OLD
in the request.
attributes
- Attribute values before the put operation, but only if the
ReturnValues
parameter is specified as
ALL_OLD
in the request.public PutItemResult withAttributes(Map<String,AttributeValue> attributes)
ReturnValues
parameter is specified as
ALL_OLD
in the request.
Returns a reference to this object so that method calls can be chained together.
attributes
- Attribute values before the put operation, but only if the
ReturnValues
parameter is specified as
ALL_OLD
in the request.
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 PutItemResult 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()
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 |