code: public void marshall(Partition partition, ProtocolMarshaller protocolMarshaller) {
  
          if (partition == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(partition.getValues(), VALUES_BINDING);
              protocolMarshaller.marshall(partition.getDatabaseName(), DATABASENAME_BINDING);
              protocolMarshaller.marshall(partition.getTableName(), TABLENAME_BINDING);
              protocolMarshaller.marshall(partition.getCreationTime(), CREATIONTIME_BINDING);
              protocolMarshaller.marshall(partition.getLastAccessTime(), LASTACCESSTIME_BINDING);
              protocolMarshaller.marshall(partition.getStorageDescriptor(), STORAGEDESCRIPTOR_BINDING);
              protocolMarshaller.marshall(partition.getParameters(), PARAMETERS_BINDING);
              protocolMarshaller.marshall(partition.getLastAnalyzedTime(), LASTANALYZEDTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.