public ModelDashboardMonitoringSchedule withMonitoringAlertSummaries(MonitoringAlertSummary... monitoringAlertSummaries) {
        if (this.monitoringAlertSummaries == null) {
            setMonitoringAlertSummaries(new java.util.ArrayList<MonitoringAlertSummary>(monitoringAlertSummaries.length));
        }
        for (MonitoringAlertSummary ele : monitoringAlertSummaries) {
            this.monitoringAlertSummaries.add(ele);
        }
        return this;
    }
<p>
A JSON array where each element is a summary for a monitoring alert.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMonitoringAlertSummaries(java.util.Collection)} or
{@link #withMonitoringAlertSummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param monitoringAlertSummaries
       A JSON array where each element is a summary for a monitoring alert.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelDashboardMonitoringSchedule.java