OptionHolder merge(OptionHolder optionHolderToMerge) {
        optionHolderToMerge.getDynamicOptionsKeys().forEach(key -> {
            Option optionToMerge = optionHolderToMerge.validateAndGetOption(key);
            options.put(key, optionToMerge);
            dynamicOptionsKeys.add(key);
        });

        optionHolderToMerge.getStaticOptionsKeys().forEach(key -> {
            Option optionToMerge = optionHolderToMerge.validateAndGetOption(key);
            options.put(key, optionToMerge);
            staticOptionsKeys.add(key);
        });

        return this;
    }
Holder object to contain {@link Option}
modules/siddhi-core/src/main/java/io/siddhi/core/util/transport/OptionHolder.java