Class GetItemResult
java.lang.Object
com.amazonaws.services.dynamodbv2.model.GetItemResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the output of a GetItem operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemEntry
(String key, AttributeValue value) Removes all the entries added into Item.clone()
boolean
getItem()
A map of attribute names to AttributeValue objects, as specified by AttributesToGet.int
hashCode()
void
setConsumedCapacity
(ConsumedCapacity consumedCapacity) void
setItem
(Map<String, AttributeValue> item) A map of attribute names to AttributeValue objects, as specified by AttributesToGet.toString()
Returns a string representation of this object; useful for testing and debugging.withConsumedCapacity
(ConsumedCapacity consumedCapacity) withItem
(Map<String, AttributeValue> item) A map of attribute names to AttributeValue objects, as specified by AttributesToGet.
-
Constructor Details
-
GetItemResult
public GetItemResult()
-
-
Method Details
-
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
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
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addItemEntry
-
clearItemEntries
Removes all the entries added into Item. <p> Returns a reference to this object so that method calls can be chained together. -
setConsumedCapacity
- Parameters:
consumedCapacity
-
-
getConsumedCapacity
- Returns:
-
withConsumedCapacity
- Parameters:
consumedCapacity
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-