public ListHarvestJobsResult withHarvestJobs(HarvestJob... harvestJobs) {
        if (this.harvestJobs == null) {
            setHarvestJobs(new java.util.ArrayList<HarvestJob>(harvestJobs.length));
        }
        for (HarvestJob ele : harvestJobs) {
            this.harvestJobs.add(ele);
        }
        return this;
    }
A list of HarvestJob records.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHarvestJobs(java.util.Collection)} or {@link #withHarvestJobs(java.util.Collection)} if you want to
override the existing values.
</p>

@param harvestJobs
       A list of HarvestJob records.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/ListHarvestJobsResult.java