public function setRequest($request, $waitForResult = true)
    {
        $this->previousRequest = $this->request;
        $this->request = $request;
        $this->waitForResult = $waitForResult;
        $this->bucket->refresh($this);

        return $this;
    }