com.amazonaws.services.dynamodb.model
Class DeleteItemResult

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

public class DeleteItemResult
extends Object

Delete Item Result


Constructor Summary
DeleteItemResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Map<String,AttributeValue> getAttributes()
          If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item).
 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)
          If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item).
 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.
 DeleteItemResult withAttributes(Map<String,AttributeValue> attributes)
          If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item).
 DeleteItemResult 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

DeleteItemResult

public DeleteItemResult()
Method Detail

getAttributes

public Map<String,AttributeValue> getAttributes()
If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.

Returns:
If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.

setAttributes

public void setAttributes(Map<String,AttributeValue> attributes)
If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.

Parameters:
attributes - If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.

withAttributes

public DeleteItemResult withAttributes(Map<String,AttributeValue> attributes)
If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.

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

Parameters:
attributes - If the ReturnValues parameter is provided as ALL_OLD in the request, Amazon DynamoDB returns an array of attribute name-value pairs (essentially, the deleted item). Otherwise, the response contains an empty set.
Returns:
A reference to this updated object so that method calls can be chained together.

getConsumedCapacityUnits

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

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

setConsumedCapacityUnits

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

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

withConsumedCapacityUnits

public DeleteItemResult withConsumedCapacityUnits(Double 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.

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, BatchWriteItem, Query, and Scan operations consume ReadCapacityUnits, while PutItem, UpdateItem, and DeleteItem operations consume WriteCapacityUnits.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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