public function buildLocation($key, $name, $type = 'default')
    {
        $this->bucket = new Bucket($name, $type);
        $this->location = new Location($key, $this->bucket);

        return $this;
    }
public function buildLocation($key, $name, $type = 'default')
    {
        $this->bucket = new Bucket($name, $type);
        $this->location = new Location($key, $this->bucket);

        return $this;
    }
@param $key
@param $name
@param string $type

@return $this