public Option validateAndGetOption(String optionKey) {
        Option option = options.get(optionKey);
        if (option == null) {
            throw new SiddhiAppValidationException("Option '" + optionKey + "' does not exist in the " +
                    "configuration of '" + extension.namespace() + ":" +
                    extension.name() + "'.");
        }
        return option;
    }
Holder object to contain {@link Option}
modules/siddhi-core/src/main/java/io/siddhi/core/util/transport/OptionHolder.java