public void setWarningCount(int warningCount) {
    this.warningCount = warningCount;
  }
Sets the count of {@link AlertState#WARNING} states.

@param warningCount
         the warningCount to set
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertSummaryDTO.java