public static class ServerSetting.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ServerSetting |
build()
Verifies parameters and creates a new
ConnectParam instance. |
ServerSetting.Builder |
withHost(@NonNull ServerAddress serverAddress)
Sets the server address
|
ServerSetting.Builder |
withMilvusClient(MilvusClient milvusClient)
Sets the server client for a cluster
|
public ServerSetting.Builder withHost(@NonNull @NonNull ServerAddress serverAddress)
serverAddress - ServerAddress host,port/serverBuilderpublic ServerSetting.Builder withMilvusClient(MilvusClient milvusClient)
milvusClient - MilvusClientBuilderpublic ServerSetting build() throws ParamException
ConnectParam instance.ConnectParamParamExceptionCopyright © 2023. All rights reserved.