Interface ElasticsearchConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to an Elasticsearch service.
- Since:
- 4.0.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordAn Elasticsearch node. -
Method Summary
Modifier and TypeMethodDescriptionAPI key for authentication with Elasticsearch.getNodes()List of the Elasticsearch nodes to use.Password for authentication with Elasticsearch.Prefix added to the path of every request sent to Elasticsearch.SSL bundle to use.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
-
getPassword
-
getApiKey
-
getPathPrefix
-
getSslBundle
-