public void marshall(RegisterTaskWithMaintenanceWindowRequest registerTaskWithMaintenanceWindowRequest, ProtocolMarshaller protocolMarshaller) {

        if (registerTaskWithMaintenanceWindowRequest == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getWindowId(), WINDOWID_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getTargets(), TARGETS_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getTaskArn(), TASKARN_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getServiceRoleArn(), SERVICEROLEARN_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getTaskType(), TASKTYPE_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getTaskParameters(), TASKPARAMETERS_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getTaskInvocationParameters(), TASKINVOCATIONPARAMETERS_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getPriority(), PRIORITY_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getMaxConcurrency(), MAXCONCURRENCY_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getMaxErrors(), MAXERRORS_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getLoggingInfo(), LOGGINGINFO_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(registerTaskWithMaintenanceWindowRequest.getClientToken(), CLIENTTOKEN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( RegisterTaskWithMaintenanceWindowRequest registerTaskWithMaintenanceWindowRequest , ProtocolMarshaller protocolMarshaller ) { if ( registerTaskWithMaintenanceWindowRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getWindowId ( ) , WINDOWID_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getTargets ( ) , TARGETS_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getTaskArn ( ) , TASKARN_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getServiceRoleArn ( ) , SERVICEROLEARN_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getTaskType ( ) , TASKTYPE_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getTaskParameters ( ) , TASKPARAMETERS_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getTaskInvocationParameters ( ) , TASKINVOCATIONPARAMETERS_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getPriority ( ) , PRIORITY_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getMaxConcurrency ( ) , MAXCONCURRENCY_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getMaxErrors ( ) , MAXERRORS_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getLoggingInfo ( ) , LOGGINGINFO_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( registerTaskWithMaintenanceWindowRequest . getClientToken ( ) , CLIENTTOKEN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.