public ListAlertsResult withAlertSummaryList(AlertSummary... alertSummaryList) {
        if (this.alertSummaryList == null) {
            setAlertSummaryList(new java.util.ArrayList<AlertSummary>(alertSummaryList.length));
        }
        for (AlertSummary ele : alertSummaryList) {
            this.alertSummaryList.add(ele);
        }
        return this;
    }
<p>
Contains information about an alert.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAlertSummaryList(java.util.Collection)} or {@link #withAlertSummaryList(java.util.Collection)} if you
want to override the existing values.
</p>

@param alertSummaryList
       Contains information about an alert.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/ListAlertsResult.java