code: public void setSettings(LinkedHashMap<String, Object> settings) {
          Settings.Builder builder = Settings.settingsBuilder();
          for (Map.Entry<String, Object> entry : settings.entrySet()) {
              builder.put(entry.getKey(), entry.getValue());
          }
          this.settings = builder.build();
      }
docs: Set settings about ES connector.
  
  @param settings : LinkedHashMap with all the settings about ES connection