Class MilvusServiceClientProperties
java.lang.Object
org.springframework.ai.autoconfigure.vectorstore.milvus.MilvusServiceClientProperties
@ConfigurationProperties("spring.ai.vectorstore.milvus.client")
public class MilvusServiceClientProperties
extends Object
Parameters for Milvus client connection.
- Author:
- Christian Tzolov
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected boolean
Secure the authorization for this connection, set to True to enable TLS. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getHost()
long
long
long
int
getPort()
long
getToken()
getUri()
boolean
isSecure()
void
setCaPemPath
(String caPemPath) void
setClientKeyPath
(String clientKeyPath) void
setClientPemPath
(String clientPemPath) void
setConnectTimeoutMs
(long connectTimeoutMs) void
void
setIdleTimeoutMs
(long idleTimeoutMs) void
setKeepAliveTimeMs
(long keepAliveTimeMs) void
setKeepAliveTimeoutMs
(long keepAliveTimeoutMs) void
setPassword
(String password) void
setPort
(int port) void
setRpcDeadlineMs
(long rpcDeadlineMs) void
setSecure
(boolean secure) void
setServerName
(String serverName) void
setServerPemPath
(String serverPemPath) void
void
void
setUsername
(String username)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
secure
protected boolean secureSecure the authorization for this connection, set to True to enable TLS.
-
-
Constructor Details
-
MilvusServiceClientProperties
public MilvusServiceClientProperties()
-
-
Method Details
-
getHost
-
setHost
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getUri
-
setUri
-
getToken
-
setToken
-
getConnectTimeoutMs
public long getConnectTimeoutMs() -
setConnectTimeoutMs
public void setConnectTimeoutMs(long connectTimeoutMs) -
getKeepAliveTimeMs
public long getKeepAliveTimeMs() -
setKeepAliveTimeMs
public void setKeepAliveTimeMs(long keepAliveTimeMs) -
getKeepAliveTimeoutMs
public long getKeepAliveTimeoutMs() -
setKeepAliveTimeoutMs
public void setKeepAliveTimeoutMs(long keepAliveTimeoutMs) -
getRpcDeadlineMs
public long getRpcDeadlineMs() -
setRpcDeadlineMs
public void setRpcDeadlineMs(long rpcDeadlineMs) -
getClientKeyPath
-
setClientKeyPath
-
getClientPemPath
-
setClientPemPath
-
getCaPemPath
-
setCaPemPath
-
getServerPemPath
-
setServerPemPath
-
getServerName
-
setServerName
-
isSecure
public boolean isSecure() -
setSecure
public void setSecure(boolean secure) -
getIdleTimeoutMs
public long getIdleTimeoutMs() -
setIdleTimeoutMs
public void setIdleTimeoutMs(long idleTimeoutMs) -
getUsername
-
setUsername
-
getPassword
-
setPassword
-