Interface GetAccuracyMetricsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetAccuracyMetricsResponse.Builder,GetAccuracyMetricsResponse>, ForecastResponse.Builder, SdkBuilder<GetAccuracyMetricsResponse.Builder,GetAccuracyMetricsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetAccuracyMetricsResponse

public static interface GetAccuracyMetricsResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<GetAccuracyMetricsResponse.Builder,GetAccuracyMetricsResponse>
  • Method Details

    • predictorEvaluationResults

      GetAccuracyMetricsResponse.Builder predictorEvaluationResults(Collection<EvaluationResult> predictorEvaluationResults)

      An array of results from evaluating the predictor.

      Parameters:
      predictorEvaluationResults - An array of results from evaluating the predictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictorEvaluationResults

      GetAccuracyMetricsResponse.Builder predictorEvaluationResults(EvaluationResult... predictorEvaluationResults)

      An array of results from evaluating the predictor.

      Parameters:
      predictorEvaluationResults - An array of results from evaluating the predictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • predictorEvaluationResults

      GetAccuracyMetricsResponse.Builder predictorEvaluationResults(Consumer<EvaluationResult.Builder>... predictorEvaluationResults)

      An array of results from evaluating the predictor.

      This is a convenience method that creates an instance of the EvaluationResult.Builder avoiding the need to create one manually via EvaluationResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to predictorEvaluationResults(List<EvaluationResult>).

      Parameters:
      predictorEvaluationResults - a consumer that will call methods on EvaluationResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isAutoPredictor

      GetAccuracyMetricsResponse.Builder isAutoPredictor(Boolean isAutoPredictor)

      Whether the predictor was created with CreateAutoPredictor.

      Parameters:
      isAutoPredictor - Whether the predictor was created with CreateAutoPredictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoMLOverrideStrategy

      GetAccuracyMetricsResponse.Builder autoMLOverrideStrategy(String 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autoMLOverrideStrategy

      GetAccuracyMetricsResponse.Builder autoMLOverrideStrategy(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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optimizationMetric

      GetAccuracyMetricsResponse.Builder optimizationMetric(String optimizationMetric)

      The accuracy metric used to optimize the predictor.

      Parameters:
      optimizationMetric - The accuracy metric used to optimize the predictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optimizationMetric

      GetAccuracyMetricsResponse.Builder optimizationMetric(OptimizationMetric optimizationMetric)

      The accuracy metric used to optimize the predictor.

      Parameters:
      optimizationMetric - The accuracy metric used to optimize the predictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: