Package com.ibm.cloud.cloudant.v1.model
Class PutDatabaseOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.PutDatabaseOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PutDatabaseOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The putDatabase options.
-
Method Details
-
newBuilder
New builder.- Returns:
- a PutDatabaseOptions builder
-
db
Gets the db. Path parameter to specify the database name.- Returns:
- the db
-
partitioned
Gets the partitioned. Query parameter to specify whether to enable database partitions when creating a database.- Returns:
- the partitioned
-
q
Gets the q. The number of shards in the database. Each shard is a partition of the hash value range. Its value is set by the service. For more information about modifying database configuration, contact IBM Cloudant support.- Returns:
- the q
-