public DescribeAutoPredictorResult withOptimizationMetric(String optimizationMetric) {
        setOptimizationMetric(optimizationMetric);
        return this;
    }
<p>
The accuracy metric used to optimize the predictor.
</p>

@param optimizationMetric
       The accuracy metric used to optimize the predictor.
@return Returns a reference to this object so that method calls can be chained together.
@see OptimizationMetric
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/DescribeAutoPredictorResult.java