@ConfigurationProperties(prefix="spring.elasticsearch.rest") public class RestClientProperties extends Object
Constructor and Description |
---|
RestClientProperties() |
Modifier and Type | Method and Description |
---|---|
Duration |
getConnectionTimeout() |
String |
getPassword() |
Duration |
getReadTimeout() |
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)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.