@ThreadSafe public final class GetItemEnhancedRequest extends Object
DynamoDbTable.getItem(GetItemEnhancedRequest)
or DynamoDbAsyncTable.getItem(GetItemEnhancedRequest)
).
A valid request object must contain a primary Key
to reference the item to get.
Modifier and Type | Class and Description |
---|---|
static class |
GetItemEnhancedRequest.Builder
A builder that is used to create a request with the desired parameters.
|
Modifier and Type | Method and Description |
---|---|
static GetItemEnhancedRequest.Builder |
builder()
All requests must be constructed using a Builder.
|
Boolean |
consistentRead() |
boolean |
equals(Object o) |
int |
hashCode() |
Key |
key()
Returns the primary
Key for the item to get. |
ReturnConsumedCapacity |
returnConsumedCapacity()
Whether to return the capacity consumed by this operation.
|
String |
returnConsumedCapacityAsString()
Whether to return the capacity consumed by this operation.
|
GetItemEnhancedRequest.Builder |
toBuilder() |
public static GetItemEnhancedRequest.Builder builder()
public GetItemEnhancedRequest.Builder toBuilder()
public Boolean consistentRead()
public ReturnConsumedCapacity returnConsumedCapacity()
GetItemRequest.returnConsumedCapacity()
public String returnConsumedCapacityAsString()
Similar to returnConsumedCapacity()
but return the value as a string. This is useful in situations where the
value is not defined in ReturnConsumedCapacity
.
Copyright © 2023. All rights reserved.