@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getPredictorName() != null)
            sb.append("PredictorName: ").append(getPredictorName()).append(",");
        if (getForecastHorizon() != null)
            sb.append("ForecastHorizon: ").append(getForecastHorizon()).append(",");
        if (getForecastTypes() != null)
            sb.append("ForecastTypes: ").append(getForecastTypes()).append(",");
        if (getForecastDimensions() != null)
            sb.append("ForecastDimensions: ").append(getForecastDimensions()).append(",");
        if (getForecastFrequency() != null)
            sb.append("ForecastFrequency: ").append(getForecastFrequency()).append(",");
        if (getDataConfig() != null)
            sb.append("DataConfig: ").append(getDataConfig()).append(",");
        if (getEncryptionConfig() != null)
            sb.append("EncryptionConfig: ").append(getEncryptionConfig()).append(",");
        if (getReferencePredictorArn() != null)
            sb.append("ReferencePredictorArn: ").append(getReferencePredictorArn()).append(",");
        if (getOptimizationMetric() != null)
            sb.append("OptimizationMetric: ").append(getOptimizationMetric()).append(",");
        if (getExplainPredictor() != null)
            sb.append("ExplainPredictor: ").append(getExplainPredictor()).append(",");
        if (getTags() != null)
            sb.append("Tags: ").append(getTags()).append(",");
        if (getMonitorConfig() != null)
            sb.append("MonitorConfig: ").append(getMonitorConfig()).append(",");
        if (getTimeAlignmentBoundary() != null)
            sb.append("TimeAlignmentBoundary: ").append(getTimeAlignmentBoundary());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/CreateAutoPredictorRequest.java