public ListSchedulesResult withSchedules(ScheduleSummary... schedules) {
        if (this.schedules == null) {
            setSchedules(new java.util.ArrayList<ScheduleSummary>(schedules.length));
        }
        for (ScheduleSummary ele : schedules) {
            this.schedules.add(ele);
        }
        return this;
    }
<p>
The schedules that match the specified criteria.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSchedules(java.util.Collection)} or {@link #withSchedules(java.util.Collection)} if you want to
override the existing values.
</p>

@param schedules
       The schedules that match the specified criteria.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-scheduler/src/main/java/com/amazonaws/services/scheduler/model/ListSchedulesResult.java