code: public Config setSemaphoreConfigs(Map<String, SemaphoreConfig> semaphoreConfigs) {
          this.semaphoreConfigs.clear();
          this.semaphoreConfigs.putAll(semaphoreConfigs);
          for (final Entry<String, SemaphoreConfig> entry : this.semaphoreConfigs.entrySet()) {
              entry.getValue().setName(entry.getKey());
          }
          return this;
      }
docs: Sets the map of semaphore configurations, mapped by config name.
  The config name may be a pattern with which the configuration will be
  obtained in the future.
  
  @param semaphoreConfigs the semaphore configuration map to set
  @return this config instance