Class ElasticsearchProperties
java.lang.Object
org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchProperties
@ConfigurationProperties("spring.elasticsearch")
public class ElasticsearchProperties
extends Object
Configuration properties for Elasticsearch.
- Since:
- 2.4.0
- Author:
- Andy Wilkinson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetUris()
void
setConnectionTimeout
(Duration connectionTimeout) void
setPassword
(String password) void
setPathPrefix
(String pathPrefix) void
setSocketTimeout
(Duration socketTimeout) void
void
setUsername
(String username)
-
Constructor Details
-
ElasticsearchProperties
public ElasticsearchProperties()
-
-
Method Details
-
getUris
-
setUris
-
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getConnectionTimeout
-
setConnectionTimeout
-
getSocketTimeout
-
setSocketTimeout
-
getPathPrefix
-
setPathPrefix
-