public static class ServerSetting.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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.ConnectParamParamException