code: public void marshall(Record record, ProtocolMarshaller protocolMarshaller) {
  
          if (record == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(record.getKey(), KEY_BINDING);
              protocolMarshaller.marshall(record.getValue(), VALUE_BINDING);
              protocolMarshaller.marshall(record.getSyncCount(), SYNCCOUNT_BINDING);
              protocolMarshaller.marshall(record.getLastModifiedDate(), LASTMODIFIEDDATE_BINDING);
              protocolMarshaller.marshall(record.getLastModifiedBy(), LASTMODIFIEDBY_BINDING);
              protocolMarshaller.marshall(record.getDeviceLastModifiedDate(), DEVICELASTMODIFIEDDATE_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.