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