code: public void marshall(Upload upload, ProtocolMarshaller protocolMarshaller) {
  
          if (upload == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(upload.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(upload.getName(), NAME_BINDING);
              protocolMarshaller.marshall(upload.getCreated(), CREATED_BINDING);
              protocolMarshaller.marshall(upload.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(upload.getStatus(), STATUS_BINDING);
              protocolMarshaller.marshall(upload.getUrl(), URL_BINDING);
              protocolMarshaller.marshall(upload.getMetadata(), METADATA_BINDING);
              protocolMarshaller.marshall(upload.getContentType(), CONTENTTYPE_BINDING);
              protocolMarshaller.marshall(upload.getMessage(), MESSAGE_BINDING);
              protocolMarshaller.marshall(upload.getCategory(), CATEGORY_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.