public ExportAutoScalingGroupRecommendationsRequest withFieldsToExport(String... fieldsToExport) {
        if (this.fieldsToExport == null) {
            setFieldsToExport(new java.util.ArrayList<String>(fieldsToExport.length));
        }
        for (String ele : fieldsToExport) {
            this.fieldsToExport.add(ele);
        }
        return this;
    }
<p>
The recommendations data to include in the export file. For more information about the fields that can be
exported, see <a
href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files"
>Exported files</a> in the <i>Compute Optimizer User Guide</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFieldsToExport(java.util.Collection)} or {@link #withFieldsToExport(java.util.Collection)} if you want
to override the existing values.
</p>

@param fieldsToExport
       The recommendations data to include in the export file. For more information about the fields that can be
       exported, see <a href=
       "https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files"
       >Exported files</a> in the <i>Compute Optimizer User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see ExportableAutoScalingGroupField
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/ExportAutoScalingGroupRecommendationsRequest.java