code: public static void stopJob(String jobHandle) throws NoSuchObjectException {
      checkNonEmpty(jobHandle, "jobHandle");
      Key key = KeyFactory.createKey(JobRecord.DATA_STORE_KIND, jobHandle);
      JobRecord jobRecord = backEnd.queryJob(key, JobRecord.InflationType.NONE);
      jobRecord.setState(State.STOPPED);
      UpdateSpec updateSpec = new UpdateSpec(jobRecord.getRootJobKey());
      updateSpec.getOrCreateTransaction("stopJob").includeJob(jobRecord);
      backEnd.save(updateSpec, jobRecord.getQueueSettings());
    }
docs: Changes the state of the specified job to STOPPED.
  
  @param jobHandle The handle of a job
  @throws NoSuchObjectException If a JobRecord with the given handle cannot
  be found in the data store.