code: public void marshall(VideoMetadata videoMetadata, ProtocolMarshaller protocolMarshaller) {
  
          if (videoMetadata == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(videoMetadata.getCodec(), CODEC_BINDING);
              protocolMarshaller.marshall(videoMetadata.getDurationMillis(), DURATIONMILLIS_BINDING);
              protocolMarshaller.marshall(videoMetadata.getFormat(), FORMAT_BINDING);
              protocolMarshaller.marshall(videoMetadata.getFrameRate(), FRAMERATE_BINDING);
              protocolMarshaller.marshall(videoMetadata.getFrameHeight(), FRAMEHEIGHT_BINDING);
              protocolMarshaller.marshall(videoMetadata.getFrameWidth(), FRAMEWIDTH_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.