Interface QueryRuntimeStatistics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QueryRuntimeStatistics.Builder,QueryRuntimeStatistics>,SdkBuilder<QueryRuntimeStatistics.Builder,QueryRuntimeStatistics>,SdkPojo
- Enclosing class:
- QueryRuntimeStatistics
public static interface QueryRuntimeStatistics.Builder extends SdkPojo, CopyableBuilder<QueryRuntimeStatistics.Builder,QueryRuntimeStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QueryRuntimeStatistics.BuilderoutputStage(Consumer<QueryStage.Builder> outputStage)Stage statistics such as input and output rows and bytes, execution time, and stage state.QueryRuntimeStatistics.BuilderoutputStage(QueryStage outputStage)Stage statistics such as input and output rows and bytes, execution time, and stage state.default QueryRuntimeStatistics.Builderrows(Consumer<QueryRuntimeStatisticsRows.Builder> rows)Sets the value of the Rows property for this object.QueryRuntimeStatistics.Builderrows(QueryRuntimeStatisticsRows rows)Sets the value of the Rows property for this object.default QueryRuntimeStatistics.Buildertimeline(Consumer<QueryRuntimeStatisticsTimeline.Builder> timeline)Sets the value of the Timeline property for this object.QueryRuntimeStatistics.Buildertimeline(QueryRuntimeStatisticsTimeline timeline)Sets the value of the Timeline property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
timeline
QueryRuntimeStatistics.Builder timeline(QueryRuntimeStatisticsTimeline timeline)
Sets the value of the Timeline property for this object.- Parameters:
timeline- The new value for the Timeline property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeline
default QueryRuntimeStatistics.Builder timeline(Consumer<QueryRuntimeStatisticsTimeline.Builder> timeline)
Sets the value of the Timeline property for this object. This is a convenience method that creates an instance of theQueryRuntimeStatisticsTimeline.Builderavoiding the need to create one manually viaQueryRuntimeStatisticsTimeline.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeline(QueryRuntimeStatisticsTimeline).- Parameters:
timeline- a consumer that will call methods onQueryRuntimeStatisticsTimeline.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeline(QueryRuntimeStatisticsTimeline)
-
rows
QueryRuntimeStatistics.Builder rows(QueryRuntimeStatisticsRows rows)
Sets the value of the Rows property for this object.- Parameters:
rows- The new value for the Rows property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
default QueryRuntimeStatistics.Builder rows(Consumer<QueryRuntimeStatisticsRows.Builder> rows)
Sets the value of the Rows property for this object. This is a convenience method that creates an instance of theQueryRuntimeStatisticsRows.Builderavoiding the need to create one manually viaQueryRuntimeStatisticsRows.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torows(QueryRuntimeStatisticsRows).- Parameters:
rows- a consumer that will call methods onQueryRuntimeStatisticsRows.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
rows(QueryRuntimeStatisticsRows)
-
outputStage
QueryRuntimeStatistics.Builder outputStage(QueryStage outputStage)
Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.
- Parameters:
outputStage- Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputStage
default QueryRuntimeStatistics.Builder outputStage(Consumer<QueryStage.Builder> outputStage)
Stage statistics such as input and output rows and bytes, execution time, and stage state. This information also includes substages and the query stage plan.
This is a convenience method that creates an instance of theQueryStage.Builderavoiding the need to create one manually viaQueryStage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputStage(QueryStage).- Parameters:
outputStage- a consumer that will call methods onQueryStage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputStage(QueryStage)
-
-