static ElasticsearchSetup of(RestClient restClient) {
    return builder(restClient).build();
  }
Setup configuration to connect to Elastic search cluster
criteria/elasticsearch/src/org/immutables/criteria/elasticsearch/ElasticsearchSetup.java