public JobManifestSpec withFields(String... fields) {
        if (this.fields == null) {
            setFields(new java.util.ArrayList<String>(fields.length));
        }
        for (String ele : fields) {
            this.fields.add(ele);
        }
        return this;
    }
<p>
If the specified manifest object is in the <code>S3BatchOperations_CSV_20180820</code> format, this element
describes which columns contain the required data.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFields(java.util.Collection)} or {@link #withFields(java.util.Collection)} if you want to override the
existing values.
</p>

@param fields
       If the specified manifest object is in the <code>S3BatchOperations_CSV_20180820</code> format, this
       element describes which columns contain the required data.
@return Returns a reference to this object so that method calls can be chained together.
@see JobManifestFieldName
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/JobManifestSpec.java