@ThreadSafe public final class BatchGetItemEnhancedRequest extends Object
DynamoDbEnhancedClient.batchGetItem(BatchGetItemEnhancedRequest)
).
A request contains references to keys and tables organized into one ReadBatch
object per queried table.
Modifier and Type | Class and Description |
---|---|
static class |
BatchGetItemEnhancedRequest.Builder
A builder that is used to create a request with the desired parameters.
|
Modifier and Type | Method and Description |
---|---|
static BatchGetItemEnhancedRequest.Builder |
builder()
Creates a newly initialized builder for a request object.
|
boolean |
equals(Object o) |
int |
hashCode() |
Collection<ReadBatch> |
readBatches()
Returns the collection of
ReadBatch in this request object. |
ReturnConsumedCapacity |
returnConsumedCapacity()
Whether to return the capacity consumed by this operation.
|
String |
returnConsumedCapacityAsString()
Whether to return the capacity consumed by this operation.
|
BatchGetItemEnhancedRequest.Builder |
toBuilder()
Returns a builder initialized with all existing values on the request object.
|
public static BatchGetItemEnhancedRequest.Builder builder()
public BatchGetItemEnhancedRequest.Builder toBuilder()
public Collection<ReadBatch> readBatches()
ReadBatch
in this request object.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.