code: public void marshall(BackupDetails backupDetails, ProtocolMarshaller protocolMarshaller) {
  
          if (backupDetails == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(backupDetails.getBackupArn(), BACKUPARN_BINDING);
              protocolMarshaller.marshall(backupDetails.getBackupName(), BACKUPNAME_BINDING);
              protocolMarshaller.marshall(backupDetails.getBackupSizeBytes(), BACKUPSIZEBYTES_BINDING);
              protocolMarshaller.marshall(backupDetails.getBackupStatus(), BACKUPSTATUS_BINDING);
              protocolMarshaller.marshall(backupDetails.getBackupType(), BACKUPTYPE_BINDING);
              protocolMarshaller.marshall(backupDetails.getBackupCreationDateTime(), BACKUPCREATIONDATETIME_BINDING);
              protocolMarshaller.marshall(backupDetails.getBackupExpiryDateTime(), BACKUPEXPIRYDATETIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.