public class GetItemResult
extends java.lang.Object
implements java.io.Serializable
Represents the output of a GetItem operation.
| コンストラクタと説明 |
|---|
GetItemResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
GetItemResult |
addItemEntry(java.lang.String key,
AttributeValue value)
A map of attribute names to AttributeValue objects, as
specified by AttributesToGet.
|
GetItemResult |
clearItemEntries()
Removes all the entries added into Item.
|
boolean |
equals(java.lang.Object obj) |
ConsumedCapacity |
getConsumedCapacity()
The table name that consumed provisioned throughput, and the number of
capacity units consumed by it.
|
java.util.Map<java.lang.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(java.util.Map<java.lang.String,AttributeValue> item)
A map of attribute names to AttributeValue objects, as
specified by AttributesToGet.
|
java.lang.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(java.util.Map<java.lang.String,AttributeValue> item)
A map of attribute names to AttributeValue objects, as
specified by AttributesToGet.
|
public java.util.Map<java.lang.String,AttributeValue> getItem()
public void setItem(java.util.Map<java.lang.String,AttributeValue> item)
item - A map of attribute names to AttributeValue objects, as
specified by AttributesToGet.public GetItemResult withItem(java.util.Map<java.lang.String,AttributeValue> item)
Returns a reference to this object so that method calls can be chained together.
item - A map of attribute names to AttributeValue objects, as
specified by AttributesToGet.public GetItemResult addItemEntry(java.lang.String key, AttributeValue value)
The method adds a new key-value pair into Item parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Item.value - The corresponding value of the entry to be added into Item.public GetItemResult clearItemEntries()
Returns a reference to this object so that method calls can be chained together.
public ConsumedCapacity getConsumedCapacity()
public void setConsumedCapacity(ConsumedCapacity 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.public GetItemResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
Returns a reference to this object so that method calls can be chained together.
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.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object