Package io.milvus.param.collection
Class ShowCollectionsParam.Builder
- java.lang.Object
-
- io.milvus.param.collection.ShowCollectionsParam.Builder
-
- Enclosing class:
- ShowCollectionsParam
public static final class ShowCollectionsParam.Builder extends java.lang.ObjectBuilder forShowCollectionsParamclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShowCollectionsParam.BuilderaddCollectionName(@NonNull java.lang.String collectionName)Adds a collection name.ShowCollectionsParambuild()Verifies parameters and creates a newShowCollectionsParaminstance.ShowCollectionsParam.BuilderwithCollectionNames(@NonNull java.util.List<java.lang.String> collectionNames)Sets a list of collection names.
-
-
-
Method Detail
-
withCollectionNames
public ShowCollectionsParam.Builder withCollectionNames(@NonNull @NonNull java.util.List<java.lang.String> collectionNames)
Sets a list of collection names. Collection name cannot be empty or null.- Parameters:
collectionNames- list of collection names- Returns:
Builder
-
addCollectionName
public ShowCollectionsParam.Builder addCollectionName(@NonNull @NonNull java.lang.String collectionName)
Adds a collection name. Collection name cannot be empty or null.- Parameters:
collectionName- collection name- Returns:
Builder
-
build
public ShowCollectionsParam build() throws ParamException
Verifies parameters and creates a newShowCollectionsParaminstance.- Returns:
ShowCollectionsParam- Throws:
ParamException
-
-