Package io.milvus.param.alias
Class ListAliasesParam.Builder
- java.lang.Object
-
- io.milvus.param.alias.ListAliasesParam.Builder
-
- Enclosing class:
- ListAliasesParam
public static final class ListAliasesParam.Builder extends Object
Builder forListAliasesParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAliasesParambuild()Verifies parameters and creates a newListAliasesParaminstance.ListAliasesParam.BuilderwithCollectionName(@NonNull String collectionName)Sets the collection name.ListAliasesParam.BuilderwithDatabaseName(String databaseName)Sets the database name.
-
-
-
Method Detail
-
withCollectionName
public ListAliasesParam.Builder withCollectionName(@NonNull @NonNull String collectionName)
Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
withDatabaseName
public ListAliasesParam.Builder withDatabaseName(String databaseName)
Sets the database name. database name can be nil.- Parameters:
databaseName- database name- Returns:
Builder
-
build
public ListAliasesParam build() throws ParamException
Verifies parameters and creates a newListAliasesParaminstance.- Returns:
ListAliasesParam- Throws:
ParamException
-
-