code: public void marshall(CreatePresetRequest createPresetRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createPresetRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createPresetRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(createPresetRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(createPresetRequest.getContainer(), CONTAINER_BINDING);
              protocolMarshaller.marshall(createPresetRequest.getVideo(), VIDEO_BINDING);
              protocolMarshaller.marshall(createPresetRequest.getAudio(), AUDIO_BINDING);
              protocolMarshaller.marshall(createPresetRequest.getThumbnails(), THUMBNAILS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.