code: public Config setCacheConfigs(Map<String, CacheSimpleConfig> cacheConfigs) {
          this.cacheConfigs.clear();
          this.cacheConfigs.putAll(cacheConfigs);
          for (final Entry<String, CacheSimpleConfig> entry : this.cacheConfigs.entrySet()) {
              entry.getValue().setName(entry.getKey());
          }
          return this;
      }
docs: Sets the map of cache configurations, mapped by config name. The config
  name may be a pattern with which the configuration was initially
  obtained.
  
  @param cacheConfigs the cacheConfigs to set
  @return this config instance