Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodbv2.model
Class GetItemResult

java.lang.Object
  extended by com.amazonaws.services.dynamodbv2.model.GetItemResult
All Implemented Interfaces:
Serializable

public class GetItemResult
extends Object
implements Serializable

Represents the output of a GetItem operation.

See Also:
Serialized Form

Constructor Summary
GetItemResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 ConsumedCapacity getConsumedCapacity()
          The table name that consumed provisioned throughput, and the number of capacity units consumed by it.
 Map<String,AttributeValue> getItem()
          A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
 int hashCode()
           
 void setConsumedCapacity(ConsumedCapacity consumedCapacity)
          The table name that consumed provisioned throughput, and the number of capacity units consumed by it.
 void setItem(Map<String,AttributeValue> item)
          A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetItemResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
          The table name that consumed provisioned throughput, and the number of capacity units consumed by it.
 GetItemResult withItem(Map<String,AttributeValue> item)
          A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetItemResult

public GetItemResult()
Method Detail

getItem

public Map<String,AttributeValue> getItem()
A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

Returns:
A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

setItem

public void setItem(Map<String,AttributeValue> item)
A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

Parameters:
item - A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

withItem

public GetItemResult withItem(Map<String,AttributeValue> item)
A map of attribute names to AttributeValue objects, as specified by AttributesToGet.

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

Parameters:
item - A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
Returns:
A reference to this updated object so that method calls can be chained together.

getConsumedCapacity

public ConsumedCapacity getConsumedCapacity()
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

Returns:
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

setConsumedCapacity

public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

Parameters:
consumedCapacity - The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

withConsumedCapacity

public GetItemResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.

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

Parameters:
consumedCapacity - The table name that consumed provisioned throughput, and the number of capacity units consumed by it. ConsumedCapacity is only returned if it was asked for in the request. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer Guide.
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.