Class BatchGetItemEnhancedRequest
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.BatchGetItemEnhancedRequest
-
@ThreadSafe public final class BatchGetItemEnhancedRequest extends Object
Defines parameters used for the batchGetItem() operation (such asDynamoDbEnhancedClient.batchGetItem(BatchGetItemEnhancedRequest)).A request contains references to keys and tables organized into one
ReadBatchobject per queried table.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchGetItemEnhancedRequest.BuilderA builder that is used to create a request with the desired parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchGetItemEnhancedRequest.Builderbuilder()Creates a newly initialized builder for a request object.booleanequals(Object o)inthashCode()Collection<ReadBatch>readBatches()Returns the collection ofReadBatchin this request object.ReturnConsumedCapacityreturnConsumedCapacity()Whether to return the capacity consumed by this operation.StringreturnConsumedCapacityAsString()Whether to return the capacity consumed by this operation.BatchGetItemEnhancedRequest.BuildertoBuilder()Returns a builder initialized with all existing values on the request object.
-
-
-
Method Detail
-
builder
public static BatchGetItemEnhancedRequest.Builder builder()
Creates a newly initialized builder for a request object.
-
toBuilder
public BatchGetItemEnhancedRequest.Builder toBuilder()
Returns a builder initialized with all existing values on the request object.
-
readBatches
public Collection<ReadBatch> readBatches()
Returns the collection ofReadBatchin this request object.
-
returnConsumedCapacity
public ReturnConsumedCapacity returnConsumedCapacity()
Whether to return the capacity consumed by this operation.- See Also:
GetItemRequest.returnConsumedCapacity()
-
returnConsumedCapacityAsString
public String returnConsumedCapacityAsString()
Whether to return the capacity consumed by this operation.Similar to
returnConsumedCapacity()but return the value as a string. This is useful in situations where the value is not defined inReturnConsumedCapacity.
-
-