public void marshall(MigrationTask migrationTask, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(migrationTask.getProgressUpdateStream(), PROGRESSUPDATESTREAM_BINDING);
            protocolMarshaller.marshall(migrationTask.getMigrationTaskName(), MIGRATIONTASKNAME_BINDING);
            protocolMarshaller.marshall(migrationTask.getTask(), TASK_BINDING);
            protocolMarshaller.marshall(migrationTask.getUpdateDateTime(), UPDATEDATETIME_BINDING);
            protocolMarshaller.marshall(migrationTask.getResourceAttributeList(), RESOURCEATTRIBUTELIST_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( MigrationTask migrationTask , ProtocolMarshaller protocolMarshaller ) { if ( migrationTask == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( migrationTask . getProgressUpdateStream ( ) , PROGRESSUPDATESTREAM_BINDING ) ; protocolMarshaller . marshall ( migrationTask . getMigrationTaskName ( ) , MIGRATIONTASKNAME_BINDING ) ; protocolMarshaller . marshall ( migrationTask . getTask ( ) , TASK_BINDING ) ; protocolMarshaller . marshall ( migrationTask . getUpdateDateTime ( ) , UPDATEDATETIME_BINDING ) ; protocolMarshaller . marshall ( migrationTask . getResourceAttributeList ( ) , RESOURCEATTRIBUTELIST_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.