public void setTargetId(Long targetId) {
    this.targetId = targetId;
  }
Sets the unique ID of this alert target.

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