public AlertSummary withAlertStatus(AlertStatus alertStatus) {
        this.alertStatus = alertStatus.toString();
        return this;
    }
<p>
The status of the alert.
</p>

@param alertStatus
       The status of the alert.
@return Returns a reference to this object so that method calls can be chained together.
@see AlertStatus
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/AlertSummary.java