@Generated(value="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
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricResult.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricResult.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricName()
The name of the metric.
|
Double |
metricValue()
The value for the metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricResult.Builder> |
serializableBuilderClass() |
MetricResult.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String metricName()
The name of the metric.
public final Double metricValue()
The value for the metric.
public MetricResult.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricResult.Builder,MetricResult>public static MetricResult.Builder builder()
public static Class<? extends MetricResult.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.