code: public JobStatus withStatus(String newStatus) {
      return new JobStatus(jobId, description, state, progress, newStatus, eventId);
    }
docs: Creates a copy of this <code>JobStatus</code> with the status string set
  to the specified value.
  @param newStatus A description of the current status of the job.
  @return A copy of this <code>JobStatus</code> with the status string set
  to the specified value.