public function setLaunchPrivacy($launchPrivacy)
    {
        if (!is_a($launchPrivacy, LaunchPrivacy::class) && !LaunchPrivacy::isValid($launchPrivacy)) {
            throw new ConfigurationException(
                "Invalid launch privacy setting '$launchPrivacy'",
                ConfigurationException::TOOL_PROVIDER
            );
        } else {
            $this->launchPrivacy = (empty($launchPrivacy) ? LaunchPrivacy::ANONYMOUS() : $launchPrivacy);
        }
    }