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