code: public void marshall(MaintenanceWindowTask maintenanceWindowTask, ProtocolMarshaller protocolMarshaller) {
  
          if (maintenanceWindowTask == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(maintenanceWindowTask.getWindowId(), WINDOWID_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getWindowTaskId(), WINDOWTASKID_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getTaskArn(), TASKARN_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getType(), TYPE_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getTargets(), TARGETS_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getTaskParameters(), TASKPARAMETERS_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getPriority(), PRIORITY_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getLoggingInfo(), LOGGINGINFO_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getServiceRoleArn(), SERVICEROLEARN_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getMaxConcurrency(), MAXCONCURRENCY_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getMaxErrors(), MAXERRORS_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getName(), NAME_BINDING);
              protocolMarshaller.marshall(maintenanceWindowTask.getDescription(), DESCRIPTION_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.