public void setAlertState(AlertState alertState) {
    this.alertState = alertState;
  }
Sets the state of this alert instance.

@param alertState
         the alert state (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java