Interface ExecuteTransactionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ExecuteTransactionResponse.Builder,,ExecuteTransactionResponse> DynamoDbResponse.Builder,SdkBuilder<ExecuteTransactionResponse.Builder,,ExecuteTransactionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ExecuteTransactionResponse
-
Method Summary
Modifier and TypeMethodDescriptionconsumedCapacity(Collection<ConsumedCapacity> consumedCapacity) The capacity units consumed by the entire operation.consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entire operation.consumedCapacity(ConsumedCapacity... consumedCapacity) The capacity units consumed by the entire operation.responses(Collection<ItemResponse> responses) The response to a PartiQL transaction.responses(Consumer<ItemResponse.Builder>... responses) The response to a PartiQL transaction.responses(ItemResponse... responses) The response to a PartiQL transaction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
responses
The response to a PartiQL transaction.
- Parameters:
responses- The response to a PartiQL transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
The response to a PartiQL transaction.
- Parameters:
responses- The response to a PartiQL transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
The response to a PartiQL transaction.
This is a convenience method that creates an instance of theItemResponse.Builderavoiding the need to create one manually viaItemResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponses(List<ItemResponse>).- Parameters:
responses- a consumer that will call methods onItemResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumedCapacity
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
- Parameters:
consumedCapacity- The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
- Parameters:
consumedCapacity- The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
ExecuteTransactionResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
This is a convenience method that creates an instance of theConsumedCapacity.Builderavoiding the need to create one manually viaConsumedCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumedCapacity(List<ConsumedCapacity>).- Parameters:
consumedCapacity- a consumer that will call methods onConsumedCapacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-