Package com.ibm.cloud.cloudant.v1.model
Class PutDatabaseOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PutDatabaseOptions.Builder
- Enclosing class:
PutDatabaseOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a PutDatabaseOptions.Set the db.partitioned
(Boolean partitioned) Set the partitioned.q
(long q) Set the q.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the db
-
-
Method Details
-
build
Builds a PutDatabaseOptions.- Returns:
- the new PutDatabaseOptions instance
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the PutDatabaseOptions builder
-
partitioned
Set the partitioned.- Parameters:
partitioned
- the partitioned- Returns:
- the PutDatabaseOptions builder
-
q
Set the q.- Parameters:
q
- the q- Returns:
- the PutDatabaseOptions builder
-