code: @Override
      public Job buildJob(Restoration restoration, SnapshotJobManagerConfig jobManagerConfig) throws SnapshotException {
          Job job;
  
          try {
  
              DuracloudEndPointConfig destination = restoration.getDestination();
              String destinationSpaceId = destination.getSpaceId();
              String restoreId = restoration.getRestorationId();
  
              ContentStore contentStore =
                  this.storeClientHelper.create(destination,
                                                jobManagerConfig.getDuracloudUsername(),
                                                jobManagerConfig.getDuracloudPassword());
  
              JobBuilderFactory jobBuilderFactory = new JobBuilderFactory(jobRepository);
              JobBuilder jobBuilder = jobBuilderFactory.get(getJobName());
              SimpleJobBuilder simpleJobBuilder =
                  jobBuilder.start(buildVerifyTransferUsingManifestStep(restoreId, jobManagerConfig))
                            .next(buildVerifyTransferUsingSnapshotRepoStep(restoreId, jobManagerConfig))
                            .next(buildRestoreContentStep(restoreId, destinationSpaceId, contentStore, jobManagerConfig))
                            .next(buildRestoreContentPropertiesStep(restoreId,
                                                                    destinationSpaceId,
                                                                    contentStore,
                                                                    jobManagerConfig))
                            .next(buildVerifyDuraCloudTransferStep(restoreId,
                                                                   destinationSpaceId,
                                                                   contentStore,
                                                                   jobManagerConfig));
              simpleJobBuilder.listener(jobListener);
              job = simpleJobBuilder.build();
              log.debug("build job {}", job);
          } catch (Exception e) {
              log.error("Error creating job: {}", e.getMessage(), e);
              throw new SnapshotException(e.getMessage(), e);
          }
          return job;
      }
docs: /*
  (non-Javadoc)
  
  @see
  org.duracloud.snapshot.manager.spring.batch.BatchJobBuilder#buildJob(java
  .lang.Object,
  org.duracloud.snapshot.manager.config.SnapshotJobManagerConfig)