public Long getTargetId() {
    return targetId;
  }
Gets the unique ID of this alert target.

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