public static final class ReleaseCollectionParam.Builder
extends java.lang.Object
ReleaseCollectionParam
class.Modifier and Type | Method and Description |
---|---|
ReleaseCollectionParam |
build()
Verifies parameters and creates a new
ReleaseCollectionParam instance. |
ReleaseCollectionParam.Builder |
withCollectionName(@NonNull java.lang.String collectionName)
Sets the collection name.
|
ReleaseCollectionParam.Builder |
withDatabaseName(java.lang.String databaseName)
Sets the database name.
|
public ReleaseCollectionParam.Builder withDatabaseName(java.lang.String databaseName)
databaseName
- database nameBuilder
public ReleaseCollectionParam.Builder withCollectionName(@NonNull @NonNull java.lang.String collectionName)
collectionName
- collection nameBuilder
public ReleaseCollectionParam build() throws ParamException
ReleaseCollectionParam
instance.ReleaseCollectionParam
ParamException