public AlertSummary withAlertType(String alertType) {
        setAlertType(alertType);
        return this;
    }
<p>
The type of the alert.
</p>

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