|
|||||||
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()
public void setAttributes(Map<String,AttributeValue> attributes)
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)
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()
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 PutItemResult 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 |