Package com.ibm.cloud.cloudant.v1.model
Class PostBulkDocsOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostBulkDocsOptions.Builder
- Enclosing class:
 PostBulkDocsOptions
Builder.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionSet the body.body(InputStream body) Set the body.build()Builds a PostBulkDocsOptions.Set the bulkDocs.Set the db. 
- 
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 PostBulkDocsOptions.- Returns:
 - the new PostBulkDocsOptions instance
 
 - 
db
Set the db.- Parameters:
 db- the db- Returns:
 - the PostBulkDocsOptions builder
 
 - 
bulkDocs
Set the bulkDocs.- Parameters:
 bulkDocs- the bulkDocs- Returns:
 - the PostBulkDocsOptions builder
 
 - 
body
Set the body.- Parameters:
 body- the body- Returns:
 - the PostBulkDocsOptions builder
 
 - 
body
Set the body.- Parameters:
 body- the body- Returns:
 - the PostBulkDocsOptions builder
 - Throws:
 FileNotFoundException- if the file could not be found
 
 -