docs: public <E extends Enum> E getEnum(HazelcastProperty property, Class<E> enumClazz) {
          String value = getString(property);
  
          for (E enumConstant : enumClazz.getEnumConstants()) {
              if (enumConstant.name().equalsIgnoreCase(value)) {
                  return enumConstant;
              }
          }
  
          throw new IllegalArgumentException(format("value '%s' for property '%s' is not a valid %s value",
                  value, property.getName(), enumClazz.getName()));
      }