Package com.ibm.cloud.cloudant.v1.model
Class ReplicationCreateTargetParameters
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.ReplicationCreateTargetParameters
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ReplicationCreateTargetParameters extends com.ibm.cloud.sdk.core.service.model.GenericModel
Request parameters to use during target database creation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplicationCreateTargetParameters.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
n()
Gets the n.ReplicationCreateTargetParameters.Builder
newBuilder()
New builder.Boolean
partitioned()
Gets the partitioned.Long
q()
Gets the q.
-
-
-
Method Detail
-
newBuilder
public ReplicationCreateTargetParameters.Builder newBuilder()
New builder.- Returns:
- a ReplicationCreateTargetParameters builder
-
n
public Long n()
Gets the n. Schema for the number of replicas of a database in a cluster.- Returns:
- the n
-
partitioned
public Boolean partitioned()
Gets the partitioned. Parameter to specify whether to enable database partitions when creating the target database.- Returns:
- the partitioned
-
q
public Long q()
Gets the q. Schema for the number of shards in a database. Each shard is a partition of the hash value range.- Returns:
- the q
-
-