docs: @SuppressWarnings("checkstyle:npathcomplexity")
      public void verify() {
          int countEnabled = 0;
          if (getTcpIpConfig().isEnabled()) {
              countEnabled++;
          }
          if (getMulticastConfig().isEnabled()) {
              countEnabled++;
          }
          if (getAwsConfig().isEnabled()) {
              countEnabled++;
          }
          if (getGcpConfig().isEnabled()) {
              countEnabled++;
          }
          if (getAzureConfig().isEnabled()) {
              countEnabled++;
          }
          if (getKubernetesConfig().isEnabled()) {
              countEnabled++;
          }
          if (getEurekaConfig().isEnabled()) {
              countEnabled++;
          }
  
          if (countEnabled > 1) {
              throw new InvalidConfigurationException("Multiple join configuration cannot be enabled at the same time. Enable only "
                      + "one of: TCP/IP, Multicast, AWS, GCP, Azure, Kubernetes, or Eureka");
          }
  
          verifyDiscoveryProviderConfig();
      }