Package com.ibm.cloud.cloudant.v1.model
Class PostViewOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.PostViewOptions.Builder
-
- Enclosing class:
- PostViewOptions
public static class PostViewOptions.Builder extends Object
Builder.
-
-
Method Summary
-
-
-
Method Detail
-
build
public PostViewOptions build()
Builds a PostViewOptions.- Returns:
- the new PostViewOptions instance
-
addKeys
public PostViewOptions.Builder addKeys(Object keys)
Adds an keys to keys.- Parameters:
keys
- the new keys- Returns:
- the PostViewOptions builder
-
db
public PostViewOptions.Builder db(String db)
Set the db.- Parameters:
db
- the db- Returns:
- the PostViewOptions builder
-
ddoc
public PostViewOptions.Builder ddoc(String ddoc)
Set the ddoc.- Parameters:
ddoc
- the ddoc- Returns:
- the PostViewOptions builder
-
view
public PostViewOptions.Builder view(String view)
Set the view.- Parameters:
view
- the view- Returns:
- the PostViewOptions builder
-
attEncodingInfo
public PostViewOptions.Builder attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the PostViewOptions builder
-
attachments
public PostViewOptions.Builder attachments(Boolean attachments)
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the PostViewOptions builder
-
conflicts
public PostViewOptions.Builder conflicts(Boolean conflicts)
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the PostViewOptions builder
-
descending
public PostViewOptions.Builder descending(Boolean descending)
Set the descending.- Parameters:
descending
- the descending- Returns:
- the PostViewOptions builder
-
includeDocs
public PostViewOptions.Builder includeDocs(Boolean includeDocs)
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the PostViewOptions builder
-
inclusiveEnd
public PostViewOptions.Builder inclusiveEnd(Boolean inclusiveEnd)
Set the inclusiveEnd.- Parameters:
inclusiveEnd
- the inclusiveEnd- Returns:
- the PostViewOptions builder
-
limit
public PostViewOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the PostViewOptions builder
-
skip
public PostViewOptions.Builder skip(long skip)
Set the skip.- Parameters:
skip
- the skip- Returns:
- the PostViewOptions builder
-
updateSeq
public PostViewOptions.Builder updateSeq(Boolean updateSeq)
Set the updateSeq.- Parameters:
updateSeq
- the updateSeq- Returns:
- the PostViewOptions builder
-
endkey
public PostViewOptions.Builder endkey(Object endkey)
Set the endkey.- Parameters:
endkey
- the endkey- Returns:
- the PostViewOptions builder
-
endkeyDocid
public PostViewOptions.Builder endkeyDocid(String endkeyDocid)
Set the endkeyDocid.- Parameters:
endkeyDocid
- the endkeyDocid- Returns:
- the PostViewOptions builder
-
group
public PostViewOptions.Builder group(Boolean group)
Set the group.- Parameters:
group
- the group- Returns:
- the PostViewOptions builder
-
groupLevel
public PostViewOptions.Builder groupLevel(long groupLevel)
Set the groupLevel.- Parameters:
groupLevel
- the groupLevel- Returns:
- the PostViewOptions builder
-
key
public PostViewOptions.Builder key(Object key)
Set the key.- Parameters:
key
- the key- Returns:
- the PostViewOptions builder
-
keys
public PostViewOptions.Builder keys(List<Object> keys)
Set the keys. Existing keys will be replaced.- Parameters:
keys
- the keys- Returns:
- the PostViewOptions builder
-
reduce
public PostViewOptions.Builder reduce(Boolean reduce)
Set the reduce.- Parameters:
reduce
- the reduce- Returns:
- the PostViewOptions builder
-
stable
public PostViewOptions.Builder stable(Boolean stable)
Set the stable.- Parameters:
stable
- the stable- Returns:
- the PostViewOptions builder
-
startkey
public PostViewOptions.Builder startkey(Object startkey)
Set the startkey.- Parameters:
startkey
- the startkey- Returns:
- the PostViewOptions builder
-
startkeyDocid
public PostViewOptions.Builder startkeyDocid(String startkeyDocid)
Set the startkeyDocid.- Parameters:
startkeyDocid
- the startkeyDocid- Returns:
- the PostViewOptions builder
-
update
public PostViewOptions.Builder update(String update)
Set the update.- Parameters:
update
- the update- Returns:
- the PostViewOptions builder
-
-