public void marshall(UpdateJobRequest updateJobRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateJobRequest.getJobId(), JOBID_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getRoleARN(), ROLEARN_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getNotification(), NOTIFICATION_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getResources(), RESOURCES_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getAddressId(), ADDRESSID_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getShippingOption(), SHIPPINGOPTION_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getDescription(), DESCRIPTION_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getSnowballCapacityPreference(), SNOWBALLCAPACITYPREFERENCE_BINDING);
            protocolMarshaller.marshall(updateJobRequest.getForwardingAddressId(), FORWARDINGADDRESSID_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateJobRequest updateJobRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateJobRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateJobRequest . getJobId ( ) , JOBID_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getRoleARN ( ) , ROLEARN_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getNotification ( ) , NOTIFICATION_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getResources ( ) , RESOURCES_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getAddressId ( ) , ADDRESSID_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getShippingOption ( ) , SHIPPINGOPTION_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getSnowballCapacityPreference ( ) , SNOWBALLCAPACITYPREFERENCE_BINDING ) ; protocolMarshaller . marshall ( updateJobRequest . getForwardingAddressId ( ) , FORWARDINGADDRESSID_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.