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 java.lang.Object
Builder forListAliasesParam
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListAliasesParam
build()
Verifies parameters and creates a newListAliasesParam
instance.ListAliasesParam.Builder
withCollectionName(@NonNull java.lang.String collectionName)
Sets the collection name.ListAliasesParam.Builder
withDatabaseName(java.lang.String databaseName)
Sets the database name.
-
-
-
Method Detail
-
withCollectionName
public ListAliasesParam.Builder withCollectionName(@NonNull @NonNull java.lang.String collectionName)
Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName
- collection name- Returns:
Builder
-
withDatabaseName
public ListAliasesParam.Builder withDatabaseName(java.lang.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 newListAliasesParam
instance.- Returns:
ListAliasesParam
- Throws:
ParamException
-
-