code: public void marshall(JobProcessDetails jobProcessDetails, ProtocolMarshaller protocolMarshaller) {
  
          if (jobProcessDetails == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(jobProcessDetails.getProcessingTargets(), PROCESSINGTARGETS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfCanceledThings(), NUMBEROFCANCELEDTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfSucceededThings(), NUMBEROFSUCCEEDEDTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfFailedThings(), NUMBEROFFAILEDTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfRejectedThings(), NUMBEROFREJECTEDTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfQueuedThings(), NUMBEROFQUEUEDTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfInProgressThings(), NUMBEROFINPROGRESSTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfRemovedThings(), NUMBEROFREMOVEDTHINGS_BINDING);
              protocolMarshaller.marshall(jobProcessDetails.getNumberOfTimedOutThings(), NUMBEROFTIMEDOUTTHINGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.