public void marshall(CreateOTAUpdateRequest createOTAUpdateRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(createOTAUpdateRequest.getOtaUpdateId(), OTAUPDATEID_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getTargets(), TARGETS_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getTargetSelection(), TARGETSELECTION_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getAwsJobExecutionsRolloutConfig(), AWSJOBEXECUTIONSROLLOUTCONFIG_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getFiles(), FILES_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getRoleArn(), ROLEARN_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getAdditionalParameters(), ADDITIONALPARAMETERS_BINDING);
            protocolMarshaller.marshall(createOTAUpdateRequest.getTags(), TAGS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CreateOTAUpdateRequest createOTAUpdateRequest , ProtocolMarshaller protocolMarshaller ) { if ( createOTAUpdateRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createOTAUpdateRequest . getOtaUpdateId ( ) , OTAUPDATEID_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getTargets ( ) , TARGETS_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getTargetSelection ( ) , TARGETSELECTION_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getAwsJobExecutionsRolloutConfig ( ) , AWSJOBEXECUTIONSROLLOUTCONFIG_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getFiles ( ) , FILES_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getRoleArn ( ) , ROLEARN_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getAdditionalParameters ( ) , ADDITIONALPARAMETERS_BINDING ) ; protocolMarshaller . marshall ( createOTAUpdateRequest . getTags ( ) , TAGS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.