Interface GetAccuracyMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetAccuracyMetricsResponse.Builder,
,GetAccuracyMetricsResponse> ForecastResponse.Builder
,SdkBuilder<GetAccuracyMetricsResponse.Builder,
,GetAccuracyMetricsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAccuracyMetricsResponse
-
Method Summary
Modifier and TypeMethodDescriptionautoMLOverrideStrategy
(String autoMLOverrideStrategy) autoMLOverrideStrategy
(AutoMLOverrideStrategy autoMLOverrideStrategy) isAutoPredictor
(Boolean isAutoPredictor) Whether the predictor was created with CreateAutoPredictor.optimizationMetric
(String optimizationMetric) The accuracy metric used to optimize the predictor.optimizationMetric
(OptimizationMetric optimizationMetric) The accuracy metric used to optimize the predictor.predictorEvaluationResults
(Collection<EvaluationResult> predictorEvaluationResults) An array of results from evaluating the predictor.predictorEvaluationResults
(Consumer<EvaluationResult.Builder>... predictorEvaluationResults) An array of results from evaluating the predictor.predictorEvaluationResults
(EvaluationResult... predictorEvaluationResults) An array of results from evaluating the predictor.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theEvaluationResult.Builder
avoiding the need to create one manually viaEvaluationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredictorEvaluationResults(List<EvaluationResult>)
.- Parameters:
predictorEvaluationResults
- a consumer that will call methods onEvaluationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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:
-