public Task withSourceFields(java.util.Collection<String> sourceFields) {
        setSourceFields(sourceFields);
        return this;
    }
<p>
The source fields to which a particular task is applied.
</p>

@param sourceFields
       The source fields to which a particular task is applied.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/Task.java