public Long getUpgradeId() {
    return upgradeId;
  }
Gets the ID of the upgrade associated with this historical entry.

@return the upgrade ID (never {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeHistoryEntity.java