public static final class ShowCollectionsParam.Builder extends Object
ShowCollectionsParam class.| 限定符和类型 | 方法和说明 |
|---|---|
ShowCollectionsParam.Builder |
addCollectionName(@NonNull String collectionName)
Adds a collection name.
|
ShowCollectionsParam |
build()
Verifies parameters and creates a new
ShowCollectionsParam instance. |
ShowCollectionsParam.Builder |
withCollectionNames(@NonNull List<String> collectionNames)
Sets a list of collection names.
|
ShowCollectionsParam.Builder |
withShowType(ShowType showType)
Sets a show type.
|
public ShowCollectionsParam.Builder withCollectionNames(@NonNull @NonNull List<String> collectionNames)
collectionNames - list of collection namesBuilderpublic ShowCollectionsParam.Builder withShowType(ShowType showType)
showType - ShowTypeBuilderpublic ShowCollectionsParam.Builder addCollectionName(@NonNull @NonNull String collectionName)
collectionName - collection nameBuilderpublic ShowCollectionsParam build() throws ParamException
ShowCollectionsParam instance.ShowCollectionsParamParamExceptionCopyright © 2023. All rights reserved.