public ListFarmsResult withFarms(FarmSummary... farms) {
        if (this.farms == null) {
            setFarms(new java.util.ArrayList<FarmSummary>(farms.length));
        }
        for (FarmSummary ele : farms) {
            this.farms.add(ele);
        }
        return this;
    }
<p>
Farms on the list.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFarms(java.util.Collection)} or {@link #withFarms(java.util.Collection)} if you want to override the
existing values.
</p>

@param farms
       Farms on the list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/ListFarmsResult.java