code: public void marshall(Thumbnails thumbnails, ProtocolMarshaller protocolMarshaller) {
  
          if (thumbnails == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(thumbnails.getFormat(), FORMAT_BINDING);
              protocolMarshaller.marshall(thumbnails.getInterval(), INTERVAL_BINDING);
              protocolMarshaller.marshall(thumbnails.getResolution(), RESOLUTION_BINDING);
              protocolMarshaller.marshall(thumbnails.getAspectRatio(), ASPECTRATIO_BINDING);
              protocolMarshaller.marshall(thumbnails.getMaxWidth(), MAXWIDTH_BINDING);
              protocolMarshaller.marshall(thumbnails.getMaxHeight(), MAXHEIGHT_BINDING);
              protocolMarshaller.marshall(thumbnails.getSizingPolicy(), SIZINGPOLICY_BINDING);
              protocolMarshaller.marshall(thumbnails.getPaddingPolicy(), PADDINGPOLICY_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.