@ConfigurationProperties(value="spring.elasticsearch") public class ElasticsearchProperties extends Object
Constructor and Description |
---|
ElasticsearchProperties() |
Modifier and Type | Method and Description |
---|---|
Duration |
getConnectionTimeout() |
String |
getPassword() |
String |
getPathPrefix() |
Duration |
getSocketTimeout() |
List<String> |
getUris() |
String |
getUsername() |
void |
setConnectionTimeout(Duration connectionTimeout) |
void |
setPassword(String password) |
void |
setPathPrefix(String pathPrefix) |
void |
setSocketTimeout(Duration socketTimeout) |
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 getSocketTimeout()
public void setSocketTimeout(Duration socketTimeout)
public String getPathPrefix()
public void setPathPrefix(String pathPrefix)