Package io.milvus.param.control
Class GetPersistentSegmentInfoParam.Builder
java.lang.Object
io.milvus.param.control.GetPersistentSegmentInfoParam.Builder
- Enclosing class:
GetPersistentSegmentInfoParam
Builder for
GetPersistentSegmentInfoParam class.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Verifies parameters and creates a newGetPersistentSegmentInfoParaminstance.withCollectionName(@NonNull String collectionName) Sets the collection name.
-
Method Details
-
withCollectionName
public GetPersistentSegmentInfoParam.Builder withCollectionName(@NonNull @NonNull String collectionName) Sets the collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
build
Verifies parameters and creates a newGetPersistentSegmentInfoParaminstance.- Returns:
GetPersistentSegmentInfoParam- Throws:
ParamException
-