public static interface WindowSummary.Builder extends SdkPojo, CopyableBuilder<WindowSummary.Builder,WindowSummary>
| Modifier and Type | Method and Description |
|---|---|
WindowSummary.Builder |
evaluationType(EvaluationType evaluationType)
The type of evaluation.
|
WindowSummary.Builder |
evaluationType(String evaluationType)
The type of evaluation.
|
WindowSummary.Builder |
itemCount(Integer itemCount)
The number of data points within the window.
|
default WindowSummary.Builder |
metrics(Consumer<Metrics.Builder> metrics)
Provides metrics used to evaluate the performance of a predictor.
|
WindowSummary.Builder |
metrics(Metrics metrics)
Provides metrics used to evaluate the performance of a predictor.
|
WindowSummary.Builder |
testWindowEnd(Instant testWindowEnd)
The timestamp that defines the end of the window.
|
WindowSummary.Builder |
testWindowStart(Instant testWindowStart)
The timestamp that defines the start of the window.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWindowSummary.Builder testWindowStart(Instant testWindowStart)
The timestamp that defines the start of the window.
testWindowStart - The timestamp that defines the start of the window.WindowSummary.Builder testWindowEnd(Instant testWindowEnd)
The timestamp that defines the end of the window.
testWindowEnd - The timestamp that defines the end of the window.WindowSummary.Builder itemCount(Integer itemCount)
The number of data points within the window.
itemCount - The number of data points within the window.WindowSummary.Builder evaluationType(String evaluationType)
The type of evaluation.
SUMMARY - The average metrics across all windows.
COMPUTED - The metrics for the specified window.
evaluationType - The type of evaluation.
SUMMARY - The average metrics across all windows.
COMPUTED - The metrics for the specified window.
EvaluationType,
EvaluationTypeWindowSummary.Builder evaluationType(EvaluationType evaluationType)
The type of evaluation.
SUMMARY - The average metrics across all windows.
COMPUTED - The metrics for the specified window.
evaluationType - The type of evaluation.
SUMMARY - The average metrics across all windows.
COMPUTED - The metrics for the specified window.
EvaluationType,
EvaluationTypeWindowSummary.Builder metrics(Metrics metrics)
Provides metrics used to evaluate the performance of a predictor.
metrics - Provides metrics used to evaluate the performance of a predictor.default WindowSummary.Builder metrics(Consumer<Metrics.Builder> metrics)
Provides metrics used to evaluate the performance of a predictor.
This is a convenience method that creates an instance of theMetrics.Builder avoiding the need to
create one manually via Metrics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to metrics(Metrics).
metrics - a consumer that will call methods on Metrics.Buildermetrics(Metrics)Copyright © 2023. All rights reserved.