@ConfigurationProperties(prefix="spring.elasticsearch.rest") public class ElasticsearchRestClientProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ElasticsearchRestClientProperties.Sniffer |
Constructor and Description |
---|
ElasticsearchRestClientProperties() |
Modifier and Type | Method and Description |
---|---|
Duration |
getConnectionTimeout() |
String |
getPassword() |
Duration |
getReadTimeout() |
ElasticsearchRestClientProperties.Sniffer |
getSniffer() |
List<String> |
getUris() |
String |
getUsername() |
void |
setConnectionTimeout(Duration connectionTimeout) |
void |
setPassword(String password) |
void |
setReadTimeout(Duration readTimeout) |
void |
setUris(List<String> uris) |
void |
setUsername(String username) |
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public Duration getConnectionTimeout()
public void setConnectionTimeout(Duration connectionTimeout)
public Duration getReadTimeout()
public void setReadTimeout(Duration readTimeout)
public ElasticsearchRestClientProperties.Sniffer getSniffer()