Package com.ibm.cloud.cloudant.v1.model
Class BulkDocs.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.BulkDocs.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkDocs.Builder
addDocs(Document docs)
Adds an docs to docs.BulkDocs
build()
Builds a BulkDocs.BulkDocs.Builder
docs(List<Document> docs)
Set the docs.BulkDocs.Builder
newEdits(Boolean newEdits)
Set the newEdits.
-
-
-
Method Detail
-
build
public BulkDocs build()
Builds a BulkDocs.- Returns:
- the new BulkDocs instance
-
addDocs
public BulkDocs.Builder addDocs(Document docs)
Adds an docs to docs.- Parameters:
docs
- the new docs- Returns:
- the BulkDocs builder
-
docs
public BulkDocs.Builder docs(List<Document> docs)
Set the docs. Existing docs will be replaced.- Parameters:
docs
- the docs- Returns:
- the BulkDocs builder
-
newEdits
public BulkDocs.Builder newEdits(Boolean newEdits)
Set the newEdits.- Parameters:
newEdits
- the newEdits- Returns:
- the BulkDocs builder
-
-