public void marshall(UpdateBandwidthRateLimitRequest updateBandwidthRateLimitRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateBandwidthRateLimitRequest.getGatewayARN(), GATEWAYARN_BINDING);
            protocolMarshaller.marshall(updateBandwidthRateLimitRequest.getAverageUploadRateLimitInBitsPerSec(), AVERAGEUPLOADRATELIMITINBITSPERSEC_BINDING);
            protocolMarshaller
                    .marshall(updateBandwidthRateLimitRequest.getAverageDownloadRateLimitInBitsPerSec(), AVERAGEDOWNLOADRATELIMITINBITSPERSEC_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateBandwidthRateLimitRequest updateBandwidthRateLimitRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateBandwidthRateLimitRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateBandwidthRateLimitRequest . getGatewayARN ( ) , GATEWAYARN_BINDING ) ; protocolMarshaller . marshall ( updateBandwidthRateLimitRequest . getAverageUploadRateLimitInBitsPerSec ( ) , AVERAGEUPLOADRATELIMITINBITSPERSEC_BINDING ) ; protocolMarshaller . marshall ( updateBandwidthRateLimitRequest . getAverageDownloadRateLimitInBitsPerSec ( ) , AVERAGEDOWNLOADRATELIMITINBITSPERSEC_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.