docs: public <T extends ServiceConfiguration<?>> T getExistingServiceConfiguration(Class<T> clazz) {
      for (ServiceConfiguration<?> serviceConfiguration : serviceConfigurations) {
        if (clazz.equals(serviceConfiguration.getClass())) {
          return clazz.cast(serviceConfiguration);
        }
      }
      return null;
    }