com.amazonaws.services.dynamodb.model
Class PutItemResult

java.lang.Object
  extended by com.amazonaws.services.dynamodb.model.PutItemResult

public class PutItemResult
extends java.lang.Object

Put Item Result


Constructor Summary
PutItemResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Map<java.lang.String,AttributeValue> getAttributes()
          Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.
 java.lang.Double getConsumedCapacityUnits()
          The number of Capacity Units of the provisioned throughput of the table consumed during the operation.
 int hashCode()
           
 void setAttributes(java.util.Map<java.lang.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(java.lang.Double consumedCapacityUnits)
          The number of Capacity Units of the provisioned throughput of the table consumed during the operation.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PutItemResult withAttributes(java.util.Map<java.lang.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(java.lang.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

PutItemResult

public PutItemResult()
Method Detail

getAttributes

public java.util.Map<java.lang.String,AttributeValue> getAttributes()
Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.

Returns:
Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.

setAttributes

public void setAttributes(java.util.Map<java.lang.String,AttributeValue> attributes)
Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.

Parameters:
attributes - Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.

withAttributes

public PutItemResult withAttributes(java.util.Map<java.lang.String,AttributeValue> attributes)
Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributes - Attribute values before the put operation, but only if the ReturnValues parameter is specified as ALL_OLD in the request.
Returns:
A reference to this updated object so that method calls can be chained together.

getConsumedCapacityUnits

public java.lang.Double getConsumedCapacityUnits()
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.

Returns:
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.

setConsumedCapacityUnits

public void setConsumedCapacityUnits(java.lang.Double 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.

Parameters:
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.

withConsumedCapacityUnits

public PutItemResult withConsumedCapacityUnits(java.lang.Double 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.