class EsConfig implements Serializable {

    Settings toBasicSettings() {
        return ImmutableSettings.settingsBuilder()
                                .put("cluster.name", clusterName)
                                .put(additionalConfiguration)
                                .build();
    }

    public  EsConfig(String clusterName, String[] nodes);
    public  EsConfig(String clusterName, String[] nodes, Map<String, String> additionalConfiguration);

}