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