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