Interface CommitTransactionResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommitTransactionResult.Builder,
,CommitTransactionResult> SdkBuilder<CommitTransactionResult.Builder,
,CommitTransactionResult> SdkPojo
- Enclosing class:
CommitTransactionResult
public static interface CommitTransactionResult.Builder
extends SdkPojo, CopyableBuilder<CommitTransactionResult.Builder,CommitTransactionResult>
-
Method Summary
Modifier and TypeMethodDescriptioncommitDigest
(SdkBytes commitDigest) The commit digest of the committed transaction.default CommitTransactionResult.Builder
consumedIOs
(Consumer<IOUsage.Builder> consumedIOs) Contains metrics about the number of I/O requests that were consumed.consumedIOs
(IOUsage consumedIOs) Contains metrics about the number of I/O requests that were consumed.default CommitTransactionResult.Builder
timingInformation
(Consumer<TimingInformation.Builder> timingInformation) Contains server-side performance information for the command.timingInformation
(TimingInformation timingInformation) Contains server-side performance information for the command.transactionId
(String transactionId) The transaction ID of the committed transaction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
transactionId
The transaction ID of the committed transaction.
- Parameters:
transactionId
- The transaction ID of the committed transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitDigest
The commit digest of the committed transaction.
- Parameters:
commitDigest
- The commit digest of the committed transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timingInformation
Contains server-side performance information for the command.
- Parameters:
timingInformation
- Contains server-side performance information for the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timingInformation
default CommitTransactionResult.Builder timingInformation(Consumer<TimingInformation.Builder> timingInformation) Contains server-side performance information for the command.
This is a convenience method that creates an instance of theTimingInformation.Builder
avoiding the need to create one manually viaTimingInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimingInformation(TimingInformation)
.- Parameters:
timingInformation
- a consumer that will call methods onTimingInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumedIOs
Contains metrics about the number of I/O requests that were consumed.
- Parameters:
consumedIOs
- Contains metrics about the number of I/O requests that were consumed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedIOs
Contains metrics about the number of I/O requests that were consumed.
This is a convenience method that creates an instance of theIOUsage.Builder
avoiding the need to create one manually viaIOUsage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconsumedIOs(IOUsage)
.- Parameters:
consumedIOs
- a consumer that will call methods onIOUsage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-