Interface FetchPageResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FetchPageResult.Builder,FetchPageResult>,SdkBuilder<FetchPageResult.Builder,FetchPageResult>,SdkPojo
- Enclosing class:
- FetchPageResult
public static interface FetchPageResult.Builder extends SdkPojo, CopyableBuilder<FetchPageResult.Builder,FetchPageResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FetchPageResult.BuilderconsumedIOs(Consumer<IOUsage.Builder> consumedIOs)Contains metrics about the number of I/O requests that were consumed.FetchPageResult.BuilderconsumedIOs(IOUsage consumedIOs)Contains metrics about the number of I/O requests that were consumed.default FetchPageResult.Builderpage(Consumer<Page.Builder> page)Contains details of the fetched page.FetchPageResult.Builderpage(Page page)Contains details of the fetched page.default FetchPageResult.BuildertimingInformation(Consumer<TimingInformation.Builder> timingInformation)Contains server-side performance information for the command.FetchPageResult.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
-
page
FetchPageResult.Builder page(Page page)
Contains details of the fetched page.
- Parameters:
page- Contains details of the fetched page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
page
default FetchPageResult.Builder page(Consumer<Page.Builder> page)
Contains details of the 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 topage(Page).- Parameters:
page- 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:
page(Page)
-
timingInformation
FetchPageResult.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 FetchPageResult.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
FetchPageResult.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 FetchPageResult.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)
-
-