code: public void marshall(VideoParameters videoParameters, ProtocolMarshaller protocolMarshaller) {
  
          if (videoParameters == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(videoParameters.getCodec(), CODEC_BINDING);
              protocolMarshaller.marshall(videoParameters.getCodecOptions(), CODECOPTIONS_BINDING);
              protocolMarshaller.marshall(videoParameters.getKeyframesMaxDist(), KEYFRAMESMAXDIST_BINDING);
              protocolMarshaller.marshall(videoParameters.getFixedGOP(), FIXEDGOP_BINDING);
              protocolMarshaller.marshall(videoParameters.getBitRate(), BITRATE_BINDING);
              protocolMarshaller.marshall(videoParameters.getFrameRate(), FRAMERATE_BINDING);
              protocolMarshaller.marshall(videoParameters.getMaxFrameRate(), MAXFRAMERATE_BINDING);
              protocolMarshaller.marshall(videoParameters.getResolution(), RESOLUTION_BINDING);
              protocolMarshaller.marshall(videoParameters.getAspectRatio(), ASPECTRATIO_BINDING);
              protocolMarshaller.marshall(videoParameters.getMaxWidth(), MAXWIDTH_BINDING);
              protocolMarshaller.marshall(videoParameters.getMaxHeight(), MAXHEIGHT_BINDING);
              protocolMarshaller.marshall(videoParameters.getDisplayAspectRatio(), DISPLAYASPECTRATIO_BINDING);
              protocolMarshaller.marshall(videoParameters.getSizingPolicy(), SIZINGPOLICY_BINDING);
              protocolMarshaller.marshall(videoParameters.getPaddingPolicy(), PADDINGPOLICY_BINDING);
              protocolMarshaller.marshall(videoParameters.getWatermarks(), WATERMARKS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.