@Override
  public boolean equals(Object other) {
    if (!(other instanceof JobInstance)) {
      return false;
    }

    JobInstance otherJob = (JobInstance) other;
    return this.jobName.equals(otherJob.jobName) && this.jobId.equals(otherJob.jobId);
  }
@return  the id of the job.
samza-rest/src/main/java/org/apache/samza/rest/proxy/job/JobInstance.java