Package com.ibm.cloud.cloudant.v1.model
Class BulkDocs.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.BulkDocs.Builder
- Enclosing class:
BulkDocs
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new element to docs.build()
Builds a BulkDocs.Set the docs.Set the newEdits.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
docs
- the docs
-
-
Method Details
-
build
Builds a BulkDocs.- Returns:
- the new BulkDocs instance
-
addDocs
Adds a new element to docs.- Parameters:
docs
- the new element to be added- Returns:
- the BulkDocs builder
-
docs
Set the docs. Existing docs will be replaced.- Parameters:
docs
- the docs- Returns:
- the BulkDocs builder
-
newEdits
Set the newEdits.- Parameters:
newEdits
- the newEdits- Returns:
- the BulkDocs builder
-