@Generated(value="software.amazon.awssdk:codegen") public final class GetAccuracyMetricsResponse extends ForecastResponse implements ToCopyableBuilder<GetAccuracyMetricsResponse.Builder,GetAccuracyMetricsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAccuracyMetricsResponse.Builder |
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasPredictorEvaluationResults()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<EvaluationResult> predictorEvaluationResults()
An array of results from evaluating the predictor.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasPredictorEvaluationResults() method.
public final Boolean isAutoPredictor()
Whether the predictor was created with CreateAutoPredictor.
public final AutoMLOverrideStrategy autoMLOverrideStrategy()
The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web
Services Support or your account manager to learn more about access privileges.
The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML
strategy optimizes predictor accuracy.
This parameter is only valid for predictors trained using AutoML.
If the service returns an enum value that is not available in the current SDK version,
autoMLOverrideStrategy will return AutoMLOverrideStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from autoMLOverrideStrategyAsString().
The LatencyOptimized AutoML override strategy is only available in private beta. Contact
Amazon Web Services Support or your account manager to learn more about access privileges.
The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the
AutoML strategy optimizes predictor accuracy.
This parameter is only valid for predictors trained using AutoML.
AutoMLOverrideStrategypublic final String autoMLOverrideStrategyAsString()
The LatencyOptimized AutoML override strategy is only available in private beta. Contact Amazon Web
Services Support or your account manager to learn more about access privileges.
The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML
strategy optimizes predictor accuracy.
This parameter is only valid for predictors trained using AutoML.
If the service returns an enum value that is not available in the current SDK version,
autoMLOverrideStrategy will return AutoMLOverrideStrategy.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from autoMLOverrideStrategyAsString().
The LatencyOptimized AutoML override strategy is only available in private beta. Contact
Amazon Web Services Support or your account manager to learn more about access privileges.
The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the
AutoML strategy optimizes predictor accuracy.
This parameter is only valid for predictors trained using AutoML.
AutoMLOverrideStrategypublic final OptimizationMetric optimizationMetric()
The accuracy metric used to optimize the predictor.
If the service returns an enum value that is not available in the current SDK version,
optimizationMetric will return OptimizationMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from optimizationMetricAsString().
OptimizationMetricpublic final String optimizationMetricAsString()
The accuracy metric used to optimize the predictor.
If the service returns an enum value that is not available in the current SDK version,
optimizationMetric will return OptimizationMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from optimizationMetricAsString().
OptimizationMetricpublic GetAccuracyMetricsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAccuracyMetricsResponse.Builder,GetAccuracyMetricsResponse>toBuilder in class AwsResponsepublic static GetAccuracyMetricsResponse.Builder builder()
public static Class<? extends GetAccuracyMetricsResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.