接口 ElasticsearchConnectionDetails
- 所有超级接口:
ConnectionDetails
Details required to establish a connection to an Elasticsearch service.
- 从以下版本开始:
- 3.1.0
- 作者:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明getNodes()List of the Elasticsearch nodes to use.default StringPassword for authentication with Elasticsearch.default StringPrefix added to the path of every request sent to Elasticsearch.default SslBundleSSL bundle to use.default StringUsername for authentication with Elasticsearch.
-
方法详细资料
-
getNodes
List<ElasticsearchConnectionDetails.Node> getNodes()List of the Elasticsearch nodes to use.- 返回:
- list of the Elasticsearch nodes to use
-
getUsername
Username for authentication with Elasticsearch.- 返回:
- username for authentication with Elasticsearch or
null
-
getPassword
Password for authentication with Elasticsearch.- 返回:
- password for authentication with Elasticsearch or
null
-
getPathPrefix
Prefix added to the path of every request sent to Elasticsearch.- 返回:
- prefix added to the path of every request sent to Elasticsearch or
null
-
getSslBundle
SSL bundle to use.- 返回:
- the SSL bundle to use
- 从以下版本开始:
- 3.5.0
-