Package com.ibm.cloud.cloudant.v1.model
Class PostViewQueriesOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostViewQueriesOptions.Builder
- Enclosing class:
PostViewQueriesOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddQueries
(ViewQuery queries) Adds a new element to queries.build()
Builds a PostViewQueriesOptions.Set the db.Set the ddoc.Set the queries.Set the view.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbddoc
- the ddocview
- the viewqueries
- the queries
-
-
Method Details
-
build
Builds a PostViewQueriesOptions.- Returns:
- the new PostViewQueriesOptions instance
-
addQueries
Adds a new element to queries.- Parameters:
queries
- the new element to be added- Returns:
- the PostViewQueriesOptions builder
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the PostViewQueriesOptions builder
-
ddoc
Set the ddoc.- Parameters:
ddoc
- the ddoc- Returns:
- the PostViewQueriesOptions builder
-
view
Set the view.- Parameters:
view
- the view- Returns:
- the PostViewQueriesOptions builder
-
queries
Set the queries. Existing queries will be replaced.- Parameters:
queries
- the queries- Returns:
- the PostViewQueriesOptions builder
-