@Override
  public int hashCode() {
    return new HashCodeBuilder(17, 37)
        .append(okCount)
        .append(warningCount)
        .append(criticalCount)
        .append(unknownCount)
        .append(maintenanceCount)
        .toHashCode();
  }
Sets the count of alerts in maintenance state.

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