Package com.ibm.cloud.cloudant.v1.model
Class PostPartitionViewOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostPartitionViewOptions.Builder
- Enclosing class:
PostPartitionViewOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds a new element to keys.attachments
(Boolean attachments) Set the attachments.attEncodingInfo
(Boolean attEncodingInfo) Set the attEncodingInfo.build()
Builds a PostPartitionViewOptions.Set the conflicts.Set the db.Set the ddoc.descending
(Boolean descending) Set the descending.Set the endKey.endKeyDocId
(String endKeyDocId) Set the endKeyDocId.Set the group.groupLevel
(long groupLevel) Set the groupLevel.includeDocs
(Boolean includeDocs) Set the includeDocs.inclusiveEnd
(Boolean inclusiveEnd) Set the inclusiveEnd.Set the key.Set the keys.limit
(long limit) Set the limit.partitionKey
(String partitionKey) Set the partitionKey.Set the reduce.skip
(long skip) Set the skip.Set the startKey.startKeyDocId
(String startKeyDocId) Set the startKeyDocId.Set the update.Set the updateSeq.Set the view.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbpartitionKey
- the partitionKeyddoc
- the ddocview
- the view
-
-
Method Details
-
build
Builds a PostPartitionViewOptions.- Returns:
- the new PostPartitionViewOptions instance
-
addKeys
Adds a new element to keys.- Parameters:
keys
- the new element to be added- Returns:
- the PostPartitionViewOptions builder
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the PostPartitionViewOptions builder
-
partitionKey
Set the partitionKey.- Parameters:
partitionKey
- the partitionKey- Returns:
- the PostPartitionViewOptions builder
-
ddoc
Set the ddoc.- Parameters:
ddoc
- the ddoc- Returns:
- the PostPartitionViewOptions builder
-
view
Set the view.- Parameters:
view
- the view- Returns:
- the PostPartitionViewOptions builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the PostPartitionViewOptions builder
-
attachments
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the PostPartitionViewOptions builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the PostPartitionViewOptions builder
-
descending
Set the descending.- Parameters:
descending
- the descending- Returns:
- the PostPartitionViewOptions builder
-
includeDocs
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the PostPartitionViewOptions builder
-
inclusiveEnd
Set the inclusiveEnd.- Parameters:
inclusiveEnd
- the inclusiveEnd- Returns:
- the PostPartitionViewOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the PostPartitionViewOptions builder
-
skip
Set the skip.- Parameters:
skip
- the skip- Returns:
- the PostPartitionViewOptions builder
-
updateSeq
Set the updateSeq.- Parameters:
updateSeq
- the updateSeq- Returns:
- the PostPartitionViewOptions builder
-
endKey
Set the endKey.- Parameters:
endKey
- the endKey- Returns:
- the PostPartitionViewOptions builder
-
endKeyDocId
Set the endKeyDocId.- Parameters:
endKeyDocId
- the endKeyDocId- Returns:
- the PostPartitionViewOptions builder
-
group
Set the group.- Parameters:
group
- the group- Returns:
- the PostPartitionViewOptions builder
-
groupLevel
Set the groupLevel.- Parameters:
groupLevel
- the groupLevel- Returns:
- the PostPartitionViewOptions builder
-
key
Set the key.- Parameters:
key
- the key- Returns:
- the PostPartitionViewOptions builder
-
keys
Set the keys. Existing keys will be replaced.- Parameters:
keys
- the keys- Returns:
- the PostPartitionViewOptions builder
-
reduce
Set the reduce.- Parameters:
reduce
- the reduce- Returns:
- the PostPartitionViewOptions builder
-
startKey
Set the startKey.- Parameters:
startKey
- the startKey- Returns:
- the PostPartitionViewOptions builder
-
startKeyDocId
Set the startKeyDocId.- Parameters:
startKeyDocId
- the startKeyDocId- Returns:
- the PostPartitionViewOptions builder
-
update
Set the update.- Parameters:
update
- the update- Returns:
- the PostPartitionViewOptions builder
-