public static final class ShowCollectionsParam.Builder
extends java.lang.Object
ShowCollectionsParam
class.Modifier and Type | Method | Description |
---|---|---|
ShowCollectionsParam.Builder |
addCollectionName(@NonNull java.lang.String collectionName) |
Adds a collection name.
|
ShowCollectionsParam |
build() |
Verifies parameters and creates a new
ShowCollectionsParam instance. |
ShowCollectionsParam.Builder |
withCollectionNames(@NonNull java.util.List<java.lang.String> collectionNames) |
Sets a list of collection names.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ShowCollectionsParam.Builder withCollectionNames(@NonNull
@NonNull java.util.List<java.lang.String> collectionNames)
collectionNames
- list of collection namesBuilder
public ShowCollectionsParam.Builder addCollectionName(@NonNull
@NonNull java.lang.String collectionName)
collectionName
- collection nameBuilder
public ShowCollectionsParam build()
throws ParamException
ShowCollectionsParam
instance.ShowCollectionsParam
ParamException