public void marshall(StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(startDominantLanguageDetectionJobRequest.getInputDataConfig(), INPUTDATACONFIG_BINDING);
            protocolMarshaller.marshall(startDominantLanguageDetectionJobRequest.getOutputDataConfig(), OUTPUTDATACONFIG_BINDING);
            protocolMarshaller.marshall(startDominantLanguageDetectionJobRequest.getDataAccessRoleArn(), DATAACCESSROLEARN_BINDING);
            protocolMarshaller.marshall(startDominantLanguageDetectionJobRequest.getJobName(), JOBNAME_BINDING);
            protocolMarshaller.marshall(startDominantLanguageDetectionJobRequest.getClientRequestToken(), CLIENTREQUESTTOKEN_BINDING);
            protocolMarshaller.marshall(startDominantLanguageDetectionJobRequest.getVolumeKmsKeyId(), VOLUMEKMSKEYID_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( StartDominantLanguageDetectionJobRequest startDominantLanguageDetectionJobRequest , ProtocolMarshaller protocolMarshaller ) { if ( startDominantLanguageDetectionJobRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( startDominantLanguageDetectionJobRequest . getInputDataConfig ( ) , INPUTDATACONFIG_BINDING ) ; protocolMarshaller . marshall ( startDominantLanguageDetectionJobRequest . getOutputDataConfig ( ) , OUTPUTDATACONFIG_BINDING ) ; protocolMarshaller . marshall ( startDominantLanguageDetectionJobRequest . getDataAccessRoleArn ( ) , DATAACCESSROLEARN_BINDING ) ; protocolMarshaller . marshall ( startDominantLanguageDetectionJobRequest . getJobName ( ) , JOBNAME_BINDING ) ; protocolMarshaller . marshall ( startDominantLanguageDetectionJobRequest . getClientRequestToken ( ) , CLIENTREQUESTTOKEN_BINDING ) ; protocolMarshaller . marshall ( startDominantLanguageDetectionJobRequest . getVolumeKmsKeyId ( ) , VOLUMEKMSKEYID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.