Package com.ibm.cloud.cloudant.v1.model
Class PostPartitionAllDocsOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostPartitionAllDocsOptions.Builder
- Enclosing class:
PostPartitionAllDocsOptions
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 PostPartitionAllDocsOptions.Set the conflicts.Set the db.descending
(Boolean descending) Set the descending.Set the endKey.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.skip
(long skip) Set the skip.Set the startKey.Set the updateSeq.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
db
- the dbpartitionKey
- the partitionKey
-
-
Method Details
-
build
Builds a PostPartitionAllDocsOptions.- Returns:
- the new PostPartitionAllDocsOptions instance
-
addKeys
Adds a new element to keys.- Parameters:
keys
- the new element to be added- Returns:
- the PostPartitionAllDocsOptions builder
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the PostPartitionAllDocsOptions builder
-
partitionKey
Set the partitionKey.- Parameters:
partitionKey
- the partitionKey- Returns:
- the PostPartitionAllDocsOptions builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the PostPartitionAllDocsOptions builder
-
attachments
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the PostPartitionAllDocsOptions builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the PostPartitionAllDocsOptions builder
-
descending
Set the descending.- Parameters:
descending
- the descending- Returns:
- the PostPartitionAllDocsOptions builder
-
includeDocs
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the PostPartitionAllDocsOptions builder
-
inclusiveEnd
Set the inclusiveEnd.- Parameters:
inclusiveEnd
- the inclusiveEnd- Returns:
- the PostPartitionAllDocsOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the PostPartitionAllDocsOptions builder
-
skip
Set the skip.- Parameters:
skip
- the skip- Returns:
- the PostPartitionAllDocsOptions builder
-
updateSeq
Set the updateSeq.- Parameters:
updateSeq
- the updateSeq- Returns:
- the PostPartitionAllDocsOptions builder
-
endKey
Set the endKey.- Parameters:
endKey
- the endKey- Returns:
- the PostPartitionAllDocsOptions builder
-
key
Set the key.- Parameters:
key
- the key- Returns:
- the PostPartitionAllDocsOptions builder
-
keys
Set the keys. Existing keys will be replaced.- Parameters:
keys
- the keys- Returns:
- the PostPartitionAllDocsOptions builder
-
startKey
Set the startKey.- Parameters:
startKey
- the startKey- Returns:
- the PostPartitionAllDocsOptions builder
-