public Request<UpdateBandwidthRateLimitRequest> marshall(UpdateBandwidthRateLimitRequest updateBandwidthRateLimitRequest) { if (updateBandwidthRateLimitRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { final ProtocolRequestMarshaller<UpdateBandwidthRateLimitRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller( SDK_OPERATION_BINDING, updateBandwidthRateLimitRequest); protocolMarshaller.startMarshalling(); UpdateBandwidthRateLimitRequestMarshaller.getInstance().marshall(updateBandwidthRateLimitRequest, protocolMarshaller); return protocolMarshaller.finishMarshalling(); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }