code: public CPSubsystemConfig setSemaphoreConfigs(Map<String, CPSemaphoreConfig> cpSemaphoreConfigs) {
          this.semaphoreConfigs.clear();
          this.semaphoreConfigs.putAll(cpSemaphoreConfigs);
          for (Entry<String, CPSemaphoreConfig> entry : this.semaphoreConfigs.entrySet()) {
              entry.getValue().setName(entry.getKey());
          }
          return this;
      }
docs: Sets the map of CP {@link ISemaphore} configurations,
  mapped by config name. Names could optionally contain
  a {@link CPGroup} name, such as "mySemaphore@group1".
  
  @param cpSemaphoreConfigs the CP {@link ISemaphore} config map to set
  @return this config instance