public CreateAutoPredictorRequest withForecastTypes(java.util.Collection<String> forecastTypes) {
        setForecastTypes(forecastTypes);
        return this;
    }
<p>
The forecast types used to train a predictor. You can specify up to five forecast types. Forecast types can be
quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify the mean forecast with
<code>mean</code>.
</p>

@param forecastTypes
       The forecast types used to train a predictor. You can specify up to five forecast types. Forecast types
       can be quantiles from 0.01 to 0.99, by increments of 0.01 or higher. You can also specify the mean
       forecast with <code>mean</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/CreateAutoPredictorRequest.java