code: public void marshall(ExportSnapshotRecord exportSnapshotRecord, ProtocolMarshaller protocolMarshaller) {
  
          if (exportSnapshotRecord == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(exportSnapshotRecord.getName(), NAME_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getArn(), ARN_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getCreatedAt(), CREATEDAT_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getLocation(), LOCATION_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getResourceType(), RESOURCETYPE_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getState(), STATE_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getSourceInfo(), SOURCEINFO_BINDING);
              protocolMarshaller.marshall(exportSnapshotRecord.getDestinationInfo(), DESTINATIONINFO_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.