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