code: public JobStatus withProgress(double newProgress) {
      return new JobStatus(jobId, description, state, newProgress, status, eventId);
    }
docs: Creates a copy of this <code>JobStatus</code> with the progress set to
  the specified value.
  @param newProgress The progress toward completion (complete = 1.0).  If
  equal to <code>Double.NaN</code>, the progress is indeterminant.
  @return A copy of this <code>JobStatus</code> with the progress set to
  the specified value.