Interface ElasticsearchConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to an Elasticsearch service.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
An Elasticsearch node. -
Method Summary
Modifier and TypeMethodDescriptiongetNodes()
List of the Elasticsearch nodes to use.default String
Password for authentication with Elasticsearch.default String
Prefix added to the path of every request sent to Elasticsearch.default SslBundle
SSL bundle to use.default String
Username for authentication with Elasticsearch.
-
Method Details
-
getNodes
List<ElasticsearchConnectionDetails.Node> getNodes()List of the Elasticsearch nodes to use.- Returns:
- list of the Elasticsearch nodes to use
-
getUsername
Username for authentication with Elasticsearch.- Returns:
- username for authentication with Elasticsearch or
null
-
getPassword
Password for authentication with Elasticsearch.- Returns:
- password for authentication with Elasticsearch or
null
-
getPathPrefix
Prefix added to the path of every request sent to Elasticsearch.- Returns:
- prefix added to the path of every request sent to Elasticsearch or
null
-
getSslBundle
-