Interface WindowSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WindowSummary.Builder,
,WindowSummary> SdkBuilder<WindowSummary.Builder,
,WindowSummary> SdkPojo
- Enclosing class:
WindowSummary
-
Method Summary
Modifier and TypeMethodDescriptionevaluationType
(String evaluationType) The type of evaluation.evaluationType
(EvaluationType evaluationType) The type of evaluation.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.Provides metrics used to evaluate the performance of a predictor.testWindowEnd
(Instant testWindowEnd) The timestamp that defines the end of the window.testWindowStart
(Instant testWindowStart) The timestamp that defines the start of the window.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 Details
-
testWindowStart
The timestamp that defines the start of the window.
- Parameters:
testWindowStart
- The timestamp that defines the start of the window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testWindowEnd
The timestamp that defines the end of the window.
- Parameters:
testWindowEnd
- The timestamp that defines the end of the window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemCount
The number of data points within the window.
- Parameters:
itemCount
- The number of data points within the window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationType
The type of evaluation.
-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
- Parameters:
evaluationType
- The type of evaluation.-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
evaluationType
The type of evaluation.
-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
- Parameters:
evaluationType
- The type of evaluation.-
SUMMARY
- The average metrics across all windows. -
COMPUTED
- The metrics for the specified window.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
metrics
Provides metrics used to evaluate the performance of a predictor.
- Parameters:
metrics
- Provides metrics used to evaluate the performance of a predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometrics(Metrics)
.- Parameters:
metrics
- a consumer that will call methods onMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-