Class WindowSummary
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.WindowSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WindowSummary.Builder,WindowSummary>
@Generated("software.amazon.awssdk:codegen") public final class WindowSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WindowSummary.Builder,WindowSummary>
The metrics for a time range within the evaluation portion of a dataset. This object is part of the EvaluationResult object.
The
TestWindowStartandTestWindowEndparameters are determined by theBackTestWindowOffsetparameter of the EvaluationParameters object.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWindowSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WindowSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)EvaluationTypeevaluationType()The type of evaluation.StringevaluationTypeAsString()The type of evaluation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegeritemCount()The number of data points within the window.Metricsmetrics()Provides metrics used to evaluate the performance of a predictor.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WindowSummary.Builder>serializableBuilderClass()InstanttestWindowEnd()The timestamp that defines the end of the window.InstanttestWindowStart()The timestamp that defines the start of the window.WindowSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
testWindowStart
public final Instant testWindowStart()
The timestamp that defines the start of the window.
- Returns:
- The timestamp that defines the start of the window.
-
testWindowEnd
public final Instant testWindowEnd()
The timestamp that defines the end of the window.
- Returns:
- The timestamp that defines the end of the window.
-
itemCount
public final Integer itemCount()
The number of data points within the window.
- Returns:
- The number of data points within the window.
-
evaluationType
public final EvaluationType evaluationType()
The type of evaluation.
-
SUMMARY- The average metrics across all windows. -
COMPUTED- The metrics for the specified window.
If the service returns an enum value that is not available in the current SDK version,
evaluationTypewill returnEvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromevaluationTypeAsString().- Returns:
- The type of evaluation.
-
SUMMARY- The average metrics across all windows. -
COMPUTED- The metrics for the specified window.
-
- See Also:
EvaluationType
-
-
evaluationTypeAsString
public final String evaluationTypeAsString()
The type of evaluation.
-
SUMMARY- The average metrics across all windows. -
COMPUTED- The metrics for the specified window.
If the service returns an enum value that is not available in the current SDK version,
evaluationTypewill returnEvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromevaluationTypeAsString().- Returns:
- The type of evaluation.
-
SUMMARY- The average metrics across all windows. -
COMPUTED- The metrics for the specified window.
-
- See Also:
EvaluationType
-
-
metrics
public final Metrics metrics()
Provides metrics used to evaluate the performance of a predictor.
- Returns:
- Provides metrics used to evaluate the performance of a predictor.
-
toBuilder
public WindowSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WindowSummary.Builder,WindowSummary>
-
builder
public static WindowSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends WindowSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-