@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetItemResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
 Represents the output of a GetItem operation.
 
| Constructor and Description | 
|---|
| GetItemResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| GetItemResult | addItemEntry(String key,
            AttributeValue value)Add a single Item entry | 
| GetItemResult | clearItemEntries()Removes all the entries added into Item. | 
| GetItemResult | clone() | 
| boolean | equals(Object obj) | 
| ConsumedCapacity | getConsumedCapacity()
 The capacity units consumed by the  GetItemoperation. | 
| Map<String,AttributeValue> | getItem()
 A map of attribute names to  AttributeValueobjects, as specified byProjectionExpression. | 
| int | hashCode() | 
| void | setConsumedCapacity(ConsumedCapacity consumedCapacity)
 The capacity units consumed by the  GetItemoperation. | 
| void | setItem(Map<String,AttributeValue> item)
 A map of attribute names to  AttributeValueobjects, as specified byProjectionExpression. | 
| String | toString()Returns a string representation of this object. | 
| GetItemResult | withConsumedCapacity(ConsumedCapacity consumedCapacity)
 The capacity units consumed by the  GetItemoperation. | 
| GetItemResult | withItem(Map<String,AttributeValue> item)
 A map of attribute names to  AttributeValueobjects, as specified byProjectionExpression. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic Map<String,AttributeValue> getItem()
 A map of attribute names to AttributeValue objects, as specified by
 ProjectionExpression.
 
AttributeValue objects, as specified by
         ProjectionExpression.public void setItem(Map<String,AttributeValue> item)
 A map of attribute names to AttributeValue objects, as specified by
 ProjectionExpression.
 
item - A map of attribute names to AttributeValue objects, as specified by
        ProjectionExpression.public GetItemResult withItem(Map<String,AttributeValue> item)
 A map of attribute names to AttributeValue objects, as specified by
 ProjectionExpression.
 
item - A map of attribute names to AttributeValue objects, as specified by
        ProjectionExpression.public GetItemResult addItemEntry(String key, AttributeValue value)
public GetItemResult clearItemEntries()
public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
 The capacity units consumed by the GetItem operation. The data returned includes the total
 provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.
 ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was
 specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.
 
consumedCapacity - The capacity units consumed by the GetItem operation. The data returned includes the total
        provisioned throughput consumed, along with statistics for the table and any indexes involved in the
        operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity
        parameter was specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.public ConsumedCapacity getConsumedCapacity()
 The capacity units consumed by the GetItem operation. The data returned includes the total
 provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.
 ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was
 specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.
 
GetItem operation. The data returned includes the total
         provisioned throughput consumed, along with statistics for the table and any indexes involved in the
         operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity
         parameter was specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.public GetItemResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
 The capacity units consumed by the GetItem operation. The data returned includes the total
 provisioned throughput consumed, along with statistics for the table and any indexes involved in the operation.
 ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was
 specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.
 
consumedCapacity - The capacity units consumed by the GetItem operation. The data returned includes the total
        provisioned throughput consumed, along with statistics for the table and any indexes involved in the
        operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity
        parameter was specified. For more information, see Read/Write Capacity Mode in the Amazon DynamoDB Developer Guide.public String toString()
toString in class ObjectObject.toString()public GetItemResult clone()