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.BuilderaddDocs(Document docs)Adds an docs to docs.BulkDocsbuild()Builds a BulkDocs.BulkDocs.Builderdocs(List<Document> docs)Set the docs.BulkDocs.BuildernewEdits(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
-
-