Package com.ibm.cloud.cloudant.v1.model
Class PostPartitionFindOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.PostPartitionFindOptions.Builder
-
- Enclosing class:
- PostPartitionFindOptions
public static class PostPartitionFindOptions.Builder extends Object
Builder.
-
-
Method Summary
-
-
-
Method Detail
-
build
public PostPartitionFindOptions build()
Builds a PostPartitionFindOptions.- Returns:
- the new PostPartitionFindOptions instance
-
addFields
public PostPartitionFindOptions.Builder addFields(String fields)
Adds an fields to fields.- Parameters:
fields
- the new fields- Returns:
- the PostPartitionFindOptions builder
-
addSort
public PostPartitionFindOptions.Builder addSort(Map<String,String> sort)
Adds an sort to sort.- Parameters:
sort
- the new sort- Returns:
- the PostPartitionFindOptions builder
-
addUseIndex
public PostPartitionFindOptions.Builder addUseIndex(String useIndex)
Adds an useIndex to useIndex.- Parameters:
useIndex
- the new useIndex- Returns:
- the PostPartitionFindOptions builder
-
db
public PostPartitionFindOptions.Builder db(String db)
Set the db.- Parameters:
db
- the db- Returns:
- the PostPartitionFindOptions builder
-
partitionKey
public PostPartitionFindOptions.Builder partitionKey(String partitionKey)
Set the partitionKey.- Parameters:
partitionKey
- the partitionKey- Returns:
- the PostPartitionFindOptions builder
-
selector
public PostPartitionFindOptions.Builder selector(Map<String,Object> selector)
Set the selector.- Parameters:
selector
- the selector- Returns:
- the PostPartitionFindOptions builder
-
bookmark
public PostPartitionFindOptions.Builder bookmark(String bookmark)
Set the bookmark.- Parameters:
bookmark
- the bookmark- Returns:
- the PostPartitionFindOptions builder
-
conflicts
public PostPartitionFindOptions.Builder conflicts(Boolean conflicts)
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the PostPartitionFindOptions builder
-
executionStats
public PostPartitionFindOptions.Builder executionStats(Boolean executionStats)
Set the executionStats.- Parameters:
executionStats
- the executionStats- Returns:
- the PostPartitionFindOptions builder
-
fields
public PostPartitionFindOptions.Builder fields(List<String> fields)
Set the fields. Existing fields will be replaced.- Parameters:
fields
- the fields- Returns:
- the PostPartitionFindOptions builder
-
limit
public PostPartitionFindOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the PostPartitionFindOptions builder
-
skip
public PostPartitionFindOptions.Builder skip(long skip)
Set the skip.- Parameters:
skip
- the skip- Returns:
- the PostPartitionFindOptions builder
-
sort
public PostPartitionFindOptions.Builder sort(List<Map<String,String>> sort)
Set the sort. Existing sort will be replaced.- Parameters:
sort
- the sort- Returns:
- the PostPartitionFindOptions builder
-
stable
public PostPartitionFindOptions.Builder stable(Boolean stable)
Set the stable.- Parameters:
stable
- the stable- Returns:
- the PostPartitionFindOptions builder
-
update
public PostPartitionFindOptions.Builder update(String update)
Set the update.- Parameters:
update
- the update- Returns:
- the PostPartitionFindOptions builder
-
useIndex
public PostPartitionFindOptions.Builder useIndex(List<String> useIndex)
Set the useIndex. Existing useIndex will be replaced.- Parameters:
useIndex
- the useIndex- Returns:
- the PostPartitionFindOptions builder
-
-