Interface WindowSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WindowSummary.Builder,WindowSummary>,SdkBuilder<WindowSummary.Builder,WindowSummary>,SdkPojo
- Enclosing class:
- WindowSummary
public static interface WindowSummary.Builder extends SdkPojo, CopyableBuilder<WindowSummary.Builder,WindowSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description WindowSummary.BuilderevaluationType(String evaluationType)The type of evaluation.WindowSummary.BuilderevaluationType(EvaluationType evaluationType)The type of evaluation.WindowSummary.BuilderitemCount(Integer itemCount)The number of data points within the window.default WindowSummary.Buildermetrics(Consumer<Metrics.Builder> metrics)Provides metrics used to evaluate the performance of a predictor.WindowSummary.Buildermetrics(Metrics metrics)Provides metrics used to evaluate the performance of a predictor.WindowSummary.BuildertestWindowEnd(Instant testWindowEnd)The timestamp that defines the end of the window.WindowSummary.BuildertestWindowStart(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, sdkFields
-
-
-
-
Method Detail
-
testWindowStart
WindowSummary.Builder testWindowStart(Instant 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
WindowSummary.Builder testWindowEnd(Instant 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
WindowSummary.Builder itemCount(Integer 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
WindowSummary.Builder evaluationType(String 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,EvaluationType
-
-
evaluationType
WindowSummary.Builder evaluationType(EvaluationType 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,EvaluationType
-
-
metrics
WindowSummary.Builder metrics(Metrics 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
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.Builderavoiding the need to create one manually viaMetrics.builder().When the
Consumercompletes,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:
metrics(Metrics)
-
-