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