code: public Optional<JobExecutionInfo> queryByJobId(String id) throws RemoteInvocationException {
      JobExecutionQuery query = new JobExecutionQuery();
      query.setIdType(QueryIdTypeEnum.JOB_ID);
      query.setId(JobExecutionQuery.Id.create(id));
      query.setLimit(1);
  
      List<JobExecutionInfo> results = executeQuery(query);
      return getFirstFromQueryResults(results);
    }
docs: Retrieve a Gobblin job by its id.
  
  @param id                Id of the job to retrieve
  @return JobExecutionInfo representing the job