Interface ExecuteStatementResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExecuteStatementResult.Builder,ExecuteStatementResult>,SdkBuilder<ExecuteStatementResult.Builder,ExecuteStatementResult>,SdkPojo
- Enclosing class:
- ExecuteStatementResult
public static interface ExecuteStatementResult.Builder extends SdkPojo, CopyableBuilder<ExecuteStatementResult.Builder,ExecuteStatementResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExecuteStatementResult.BuilderconsumedIOs(Consumer<IOUsage.Builder> consumedIOs)Contains metrics about the number of I/O requests that were consumed.ExecuteStatementResult.BuilderconsumedIOs(IOUsage consumedIOs)Contains metrics about the number of I/O requests that were consumed.default ExecuteStatementResult.BuilderfirstPage(Consumer<Page.Builder> firstPage)Contains the details of the first fetched page.ExecuteStatementResult.BuilderfirstPage(Page firstPage)Contains the details of the first fetched page.default ExecuteStatementResult.BuildertimingInformation(Consumer<TimingInformation.Builder> timingInformation)Contains server-side performance information for the command.ExecuteStatementResult.BuildertimingInformation(TimingInformation timingInformation)Contains server-side performance information for the command.-
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 Detail
-
firstPage
ExecuteStatementResult.Builder firstPage(Page firstPage)
Contains the details of the first fetched page.
- Parameters:
firstPage- Contains the details of the first fetched page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firstPage
default ExecuteStatementResult.Builder firstPage(Consumer<Page.Builder> firstPage)
Contains the details of the first fetched page.
This is a convenience method that creates an instance of thePage.Builderavoiding the need to create one manually viaPage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofirstPage(Page).- Parameters:
firstPage- a consumer that will call methods onPage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
firstPage(Page)
-
timingInformation
ExecuteStatementResult.Builder timingInformation(TimingInformation 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 ExecuteStatementResult.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.Builderavoiding the need to create one manually viaTimingInformation.builder().When the
Consumercompletes,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:
timingInformation(TimingInformation)
-
consumedIOs
ExecuteStatementResult.Builder consumedIOs(IOUsage 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
default ExecuteStatementResult.Builder consumedIOs(Consumer<IOUsage.Builder> consumedIOs)
Contains metrics about the number of I/O requests that were consumed.
This is a convenience method that creates an instance of theIOUsage.Builderavoiding the need to create one manually viaIOUsage.builder().When the
Consumercompletes,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:
consumedIOs(IOUsage)
-
-