public void marshall(HumanTaskConfig humanTaskConfig, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(humanTaskConfig.getWorkteamArn(), WORKTEAMARN_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getUiConfig(), UICONFIG_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getPreHumanTaskLambdaArn(), PREHUMANTASKLAMBDAARN_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getTaskKeywords(), TASKKEYWORDS_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getTaskTitle(), TASKTITLE_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getTaskDescription(), TASKDESCRIPTION_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getNumberOfHumanWorkersPerDataObject(), NUMBEROFHUMANWORKERSPERDATAOBJECT_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getTaskTimeLimitInSeconds(), TASKTIMELIMITINSECONDS_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getTaskAvailabilityLifetimeInSeconds(), TASKAVAILABILITYLIFETIMEINSECONDS_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getMaxConcurrentTaskCount(), MAXCONCURRENTTASKCOUNT_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getAnnotationConsolidationConfig(), ANNOTATIONCONSOLIDATIONCONFIG_BINDING);
            protocolMarshaller.marshall(humanTaskConfig.getPublicWorkforceTaskPrice(), PUBLICWORKFORCETASKPRICE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( HumanTaskConfig humanTaskConfig , ProtocolMarshaller protocolMarshaller ) { if ( humanTaskConfig == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( humanTaskConfig . getWorkteamArn ( ) , WORKTEAMARN_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getUiConfig ( ) , UICONFIG_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getPreHumanTaskLambdaArn ( ) , PREHUMANTASKLAMBDAARN_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getTaskKeywords ( ) , TASKKEYWORDS_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getTaskTitle ( ) , TASKTITLE_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getTaskDescription ( ) , TASKDESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getNumberOfHumanWorkersPerDataObject ( ) , NUMBEROFHUMANWORKERSPERDATAOBJECT_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getTaskTimeLimitInSeconds ( ) , TASKTIMELIMITINSECONDS_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getTaskAvailabilityLifetimeInSeconds ( ) , TASKAVAILABILITYLIFETIMEINSECONDS_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getMaxConcurrentTaskCount ( ) , MAXCONCURRENTTASKCOUNT_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getAnnotationConsolidationConfig ( ) , ANNOTATIONCONSOLIDATIONCONFIG_BINDING ) ; protocolMarshaller . marshall ( humanTaskConfig . getPublicWorkforceTaskPrice ( ) , PUBLICWORKFORCETASKPRICE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.