docs: public <T extends ServiceConfiguration<?>> List<T> getExistingServiceConfigurations(Class<T> clazz) {
      ArrayList<T> results = new ArrayList<>();
      for (ServiceConfiguration<?> serviceConfiguration : serviceConfigurations) {
        if (clazz.equals(serviceConfiguration.getClass())) {
          results.add(clazz.cast(serviceConfiguration));
        }
      }
      return results;
    }