Package com.ibm.cloud.cloudant.v1.model
Class PostAllDocsQueriesOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostAllDocsQueriesOptions.Builder
- Enclosing class:
 PostAllDocsQueriesOptions
Builder.
- 
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(String db, List<AllDocsQuery> queries) Instantiates a new builder with required properties. - 
Method Summary
Modifier and TypeMethodDescriptionaddQueries(AllDocsQuery queries) Adds a new element to queries.build()Builds a PostAllDocsQueriesOptions.Set the db.queries(List<AllDocsQuery> queries) Set the queries. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 db- the dbqueries- the queries
 
 - 
 - 
Method Details
- 
build
Builds a PostAllDocsQueriesOptions.- Returns:
 - the new PostAllDocsQueriesOptions instance
 
 - 
addQueries
Adds a new element to queries.- Parameters:
 queries- the new element to be added- Returns:
 - the PostAllDocsQueriesOptions builder
 
 - 
db
Set the db.- Parameters:
 db- the db- Returns:
 - the PostAllDocsQueriesOptions builder
 
 - 
queries
Set the queries. Existing queries will be replaced.- Parameters:
 queries- the queries- Returns:
 - the PostAllDocsQueriesOptions builder
 
 
 -