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
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetUris()
boolean
void
setConnectionTimeout
(Duration connectionTimeout) void
setPassword
(String password) void
setPathPrefix
(String pathPrefix) void
setSocketKeepAlive
(boolean socketKeepAlive) 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
-
isSocketKeepAlive
public boolean isSocketKeepAlive() -
setSocketKeepAlive
public void setSocketKeepAlive(boolean socketKeepAlive) -
getPathPrefix
-
setPathPrefix
-
getRestclient
-