public ReportTaskProgressRequest withFields(java.util.Collection<Field> fields) {
        setFields(fields);
        return this;
    }
<p>
Key-value pairs that define the properties of the ReportTaskProgressInput object.
</p>

@param fields
       Key-value pairs that define the properties of the ReportTaskProgressInput object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/ReportTaskProgressRequest.java