public ListMonitorsResult withMonitors(MonitorSummary... monitors) {
        if (this.monitors == null) {
            setMonitors(new java.util.ArrayList<MonitorSummary>(monitors.length));
        }
        for (MonitorSummary ele : monitors) {
            this.monitors.add(ele);
        }
        return this;
    }
<p>
An array of objects that summarize each monitor's properties.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMonitors(java.util.Collection)} or {@link #withMonitors(java.util.Collection)} if you want to override
the existing values.
</p>

@param monitors
       An array of objects that summarize each monitor's properties.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/ListMonitorsResult.java