code: public void marshall(ImportJobRequest importJobRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (importJobRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(importJobRequest.getDefineSegment(), DEFINESEGMENT_BINDING);
              protocolMarshaller.marshall(importJobRequest.getExternalId(), EXTERNALID_BINDING);
              protocolMarshaller.marshall(importJobRequest.getFormat(), FORMAT_BINDING);
              protocolMarshaller.marshall(importJobRequest.getRegisterEndpoints(), REGISTERENDPOINTS_BINDING);
              protocolMarshaller.marshall(importJobRequest.getRoleArn(), ROLEARN_BINDING);
              protocolMarshaller.marshall(importJobRequest.getS3Url(), S3URL_BINDING);
              protocolMarshaller.marshall(importJobRequest.getSegmentId(), SEGMENTID_BINDING);
              protocolMarshaller.marshall(importJobRequest.getSegmentName(), SEGMENTNAME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.