def add_near_cache_config(self, near_cache_config):
self.near_cache_configs[near_cache_config.name] = near_cache_config<EOL>return self<EOL>
Helper method to add a new NearCacheConfig.

:param near_cache_config: (NearCacheConfig), the near_cache config to add.
:return: `self` for cascading configuration.