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 forReleaseCollectionParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReleaseCollectionParambuild()Verifies parameters and creates a newReleaseCollectionParaminstance.ReleaseCollectionParam.BuilderwithCollectionName(@NonNull String collectionName)Sets the collection name.ReleaseCollectionParam.BuilderwithDatabaseName(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 newReleaseCollectionParaminstance.- Returns:
ReleaseCollectionParam- Throws:
ParamException
-
-