Interface TransactGetItemsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<TransactGetItemsRequest.Builder,
,TransactGetItemsRequest> DynamoDbRequest.Builder
,SdkBuilder<TransactGetItemsRequest.Builder,
,TransactGetItemsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
TransactGetItemsRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.returnConsumedCapacity
(String returnConsumedCapacity) A value ofTOTAL
causes consumed capacity information to be returned, and a value ofNONE
prevents that information from being returned.returnConsumedCapacity
(ReturnConsumedCapacity returnConsumedCapacity) A value ofTOTAL
causes consumed capacity information to be returned, and a value ofNONE
prevents that information from being returned.transactItems
(Collection<TransactGetItem> transactItems) An ordered array of up to 100TransactGetItem
objects, each of which contains aGet
structure.transactItems
(Consumer<TransactGetItem.Builder>... transactItems) An ordered array of up to 100TransactGetItem
objects, each of which contains aGet
structure.transactItems
(TransactGetItem... transactItems) An ordered array of up to 100TransactGetItem
objects, each of which contains aGet
structure.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transactItems
An ordered array of up to 100
TransactGetItem
objects, each of which contains aGet
structure.- Parameters:
transactItems
- An ordered array of up to 100TransactGetItem
objects, each of which contains aGet
structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactItems
An ordered array of up to 100
TransactGetItem
objects, each of which contains aGet
structure.- Parameters:
transactItems
- An ordered array of up to 100TransactGetItem
objects, each of which contains aGet
structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactItems
An ordered array of up to 100
This is a convenience method that creates an instance of theTransactGetItem
objects, each of which contains aGet
structure.TransactGetItem.Builder
avoiding the need to create one manually viaTransactGetItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransactItems(List<TransactGetItem>)
.- Parameters:
transactItems
- a consumer that will call methods onTransactGetItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnConsumedCapacity
A value of
TOTAL
causes consumed capacity information to be returned, and a value ofNONE
prevents that information from being returned. No other value is valid.- Parameters:
returnConsumedCapacity
- A value ofTOTAL
causes consumed capacity information to be returned, and a value ofNONE
prevents that information from being returned. No other value is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
returnConsumedCapacity
TransactGetItemsRequest.Builder returnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) A value of
TOTAL
causes consumed capacity information to be returned, and a value ofNONE
prevents that information from being returned. No other value is valid.- Parameters:
returnConsumedCapacity
- A value ofTOTAL
causes consumed capacity information to be returned, and a value ofNONE
prevents that information from being returned. No other value is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
TransactGetItemsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
TransactGetItemsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-