docs: private ElasticSearchSetup.Connection interfaceConfiguration(Configuration config) {
          ElasticSearchSetup clientMode = ConfigOption.getEnumValue(config.get(INTERFACE), ElasticSearchSetup.class);
  
          try {
              return clientMode.connect(config);
          } catch (IOException e) {
              throw new TitanException(e);
          }
      }