public void marshall(StartAutomationExecutionRequest startAutomationExecutionRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(startAutomationExecutionRequest.getDocumentName(), DOCUMENTNAME_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getDocumentVersion(), DOCUMENTVERSION_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getParameters(), PARAMETERS_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getClientToken(), CLIENTTOKEN_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getMode(), MODE_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getTargetParameterName(), TARGETPARAMETERNAME_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getTargets(), TARGETS_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getTargetMaps(), TARGETMAPS_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getMaxConcurrency(), MAXCONCURRENCY_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getMaxErrors(), MAXERRORS_BINDING);
            protocolMarshaller.marshall(startAutomationExecutionRequest.getTargetLocations(), TARGETLOCATIONS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( StartAutomationExecutionRequest startAutomationExecutionRequest , ProtocolMarshaller protocolMarshaller ) { if ( startAutomationExecutionRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( startAutomationExecutionRequest . getDocumentName ( ) , DOCUMENTNAME_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getDocumentVersion ( ) , DOCUMENTVERSION_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getParameters ( ) , PARAMETERS_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getClientToken ( ) , CLIENTTOKEN_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getMode ( ) , MODE_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getTargetParameterName ( ) , TARGETPARAMETERNAME_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getTargets ( ) , TARGETS_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getTargetMaps ( ) , TARGETMAPS_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getMaxConcurrency ( ) , MAXCONCURRENCY_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getMaxErrors ( ) , MAXERRORS_BINDING ) ; protocolMarshaller . marshall ( startAutomationExecutionRequest . getTargetLocations ( ) , TARGETLOCATIONS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.