|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.model.GetItemResult
public class GetItemResult
Represents the output of a GetItem operation.
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 |
---|
public GetItemResult()
Method Detail |
---|
public Map<String,AttributeValue> getItem()
public void setItem(Map<String,AttributeValue> item)
item
- A map of attribute names to AttributeValue objects, as
specified by AttributesToGet.public GetItemResult withItem(Map<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 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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |