Package com.ibm.cloud.cloudant.v1.model
Class AllDocsQuery.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.AllDocsQuery.Builder
-
- Enclosing class:
- AllDocsQuery
public static class AllDocsQuery.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllDocsQuery.Builder
addKeys(String keys)
Adds an keys to keys.AllDocsQuery.Builder
attachments(Boolean attachments)
Set the attachments.AllDocsQuery.Builder
attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.AllDocsQuery
build()
Builds a AllDocsQuery.AllDocsQuery.Builder
conflicts(Boolean conflicts)
Set the conflicts.AllDocsQuery.Builder
descending(Boolean descending)
Set the descending.AllDocsQuery.Builder
endkey(String endkey)
Set the endkey.AllDocsQuery.Builder
includeDocs(Boolean includeDocs)
Set the includeDocs.AllDocsQuery.Builder
inclusiveEnd(Boolean inclusiveEnd)
Set the inclusiveEnd.AllDocsQuery.Builder
key(String key)
Set the key.AllDocsQuery.Builder
keys(List<String> keys)
Set the keys.AllDocsQuery.Builder
limit(long limit)
Set the limit.AllDocsQuery.Builder
skip(long skip)
Set the skip.AllDocsQuery.Builder
startkey(String startkey)
Set the startkey.AllDocsQuery.Builder
updateSeq(Boolean updateSeq)
Set the updateSeq.
-
-
-
Method Detail
-
build
public AllDocsQuery build()
Builds a AllDocsQuery.- Returns:
- the new AllDocsQuery instance
-
addKeys
public AllDocsQuery.Builder addKeys(String keys)
Adds an keys to keys.- Parameters:
keys
- the new keys- Returns:
- the AllDocsQuery builder
-
attEncodingInfo
public AllDocsQuery.Builder attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the AllDocsQuery builder
-
attachments
public AllDocsQuery.Builder attachments(Boolean attachments)
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the AllDocsQuery builder
-
conflicts
public AllDocsQuery.Builder conflicts(Boolean conflicts)
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the AllDocsQuery builder
-
descending
public AllDocsQuery.Builder descending(Boolean descending)
Set the descending.- Parameters:
descending
- the descending- Returns:
- the AllDocsQuery builder
-
includeDocs
public AllDocsQuery.Builder includeDocs(Boolean includeDocs)
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the AllDocsQuery builder
-
inclusiveEnd
public AllDocsQuery.Builder inclusiveEnd(Boolean inclusiveEnd)
Set the inclusiveEnd.- Parameters:
inclusiveEnd
- the inclusiveEnd- Returns:
- the AllDocsQuery builder
-
limit
public AllDocsQuery.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the AllDocsQuery builder
-
skip
public AllDocsQuery.Builder skip(long skip)
Set the skip.- Parameters:
skip
- the skip- Returns:
- the AllDocsQuery builder
-
updateSeq
public AllDocsQuery.Builder updateSeq(Boolean updateSeq)
Set the updateSeq.- Parameters:
updateSeq
- the updateSeq- Returns:
- the AllDocsQuery builder
-
endkey
public AllDocsQuery.Builder endkey(String endkey)
Set the endkey.- Parameters:
endkey
- the endkey- Returns:
- the AllDocsQuery builder
-
key
public AllDocsQuery.Builder key(String key)
Set the key.- Parameters:
key
- the key- Returns:
- the AllDocsQuery builder
-
keys
public AllDocsQuery.Builder keys(List<String> keys)
Set the keys. Existing keys will be replaced.- Parameters:
keys
- the keys- Returns:
- the AllDocsQuery builder
-
startkey
public AllDocsQuery.Builder startkey(String startkey)
Set the startkey.- Parameters:
startkey
- the startkey- Returns:
- the AllDocsQuery builder
-
-