docs: public RestRouterConfiguration build() {
          if (this.enabled) {
              try {
                  validate();
              } catch (Exception e) {
                  throw logger.configurationValidationError(e);
              }
              return new RestRouterConfiguration(ip, port);
          }
          return null;
      }