docs: public void marshall(Channel channel, ProtocolMarshaller protocolMarshaller) {
  
          if (channel == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(channel.getChannelName(), CHANNELNAME_BINDING);
              protocolMarshaller.marshall(channel.getDataSource(), DATASOURCE_BINDING);
              protocolMarshaller.marshall(channel.getContentType(), CONTENTTYPE_BINDING);
              protocolMarshaller.marshall(channel.getCompressionType(), COMPRESSIONTYPE_BINDING);
              protocolMarshaller.marshall(channel.getRecordWrapperType(), RECORDWRAPPERTYPE_BINDING);
              protocolMarshaller.marshall(channel.getInputMode(), INPUTMODE_BINDING);
              protocolMarshaller.marshall(channel.getShuffleConfig(), SHUFFLECONFIG_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }