Class MetricResult
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.MetricResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricResult.Builder,MetricResult>
@Generated("software.amazon.awssdk:codegen") public final class MetricResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricResult.Builder,MetricResult>
An individual metric Forecast calculated when monitoring predictor usage. You can compare the value for this metric to the metric's value in the Baseline to see how your predictor's performance is changing.
For more information about metrics generated by Forecast see Evaluating Predictor Accuracy
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetricName()The name of the metric.DoublemetricValue()The value for the metric.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MetricResult.Builder>serializableBuilderClass()MetricResult.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
-
metricName
public final String metricName()
The name of the metric.
- Returns:
- The name of the metric.
-
metricValue
public final Double metricValue()
The value for the metric.
- Returns:
- The value for the metric.
-
toBuilder
public MetricResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricResult.Builder,MetricResult>
-
builder
public static MetricResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricResult.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
-
-