public ListRefreshSchedulesResult withRefreshSchedules(RefreshSchedule... refreshSchedules) {
        if (this.refreshSchedules == null) {
            setRefreshSchedules(new java.util.ArrayList<RefreshSchedule>(refreshSchedules.length));
        }
        for (RefreshSchedule ele : refreshSchedules) {
            this.refreshSchedules.add(ele);
        }
        return this;
    }
<p>
The list of refresh schedules for the dataset.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRefreshSchedules(java.util.Collection)} or {@link #withRefreshSchedules(java.util.Collection)} if you
want to override the existing values.
</p>

@param refreshSchedules
       The list of refresh schedules for the dataset.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ListRefreshSchedulesResult.java