@Override
    public ConfigInstance.Builder getConfigInstance(ConfigKey<?> configKey, com.yahoo.vespa.config.buildergen.ConfigDefinition targetDef) {
        Objects.requireNonNull(targetDef, "config definition cannot be null");
        return resolveToBuilder(configKey);
    }
Resolve config for a given key and config definition

@param configKey the key to resolve.
@param targetDef the config definition to use for the schema
@return the resolved config instance
config-model/src/main/java/com/yahoo/vespa/model/VespaModel.java