Package com.ibm.cloud.cloudant.v1.model
Class PostChangesOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.PostChangesOptions.Builder
- Enclosing class:
- PostChangesOptions
Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an docIds to docIds.Adds an fields to fields.attachments
(Boolean attachments) Set the attachments.attEncodingInfo
(Boolean attEncodingInfo) Set the attEncodingInfo.build()
Builds a PostChangesOptions.Set the conflicts.Set the db.descending
(Boolean descending) Set the descending.Set the docIds.Set the feed.Set the fields.Set the filter.heartbeat
(long heartbeat) Set the heartbeat.includeDocs
(Boolean includeDocs) Set the includeDocs.lastEventId
(String lastEventId) Set the lastEventId.limit
(long limit) Set the limit.Set the selector.seqInterval
(long seqInterval) Set the seqInterval.Set the since.Set the style.timeout
(long timeout) Set the timeout.Set the view.
-
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 PostChangesOptions.- Returns:
- the new PostChangesOptions instance
-
addDocIds
Adds an docIds to docIds.- Parameters:
docIds
- the new docIds- Returns:
- the PostChangesOptions builder
-
addFields
Adds an fields to fields.- Parameters:
fields
- the new fields- Returns:
- the PostChangesOptions builder
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the PostChangesOptions builder
-
docIds
Set the docIds. Existing docIds will be replaced.- Parameters:
docIds
- the docIds- Returns:
- the PostChangesOptions builder
-
fields
Set the fields. Existing fields will be replaced.- Parameters:
fields
- the fields- Returns:
- the PostChangesOptions builder
-
selector
Set the selector.- Parameters:
selector
- the selector- Returns:
- the PostChangesOptions builder
-
lastEventId
Set the lastEventId.- Parameters:
lastEventId
- the lastEventId- Returns:
- the PostChangesOptions builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the PostChangesOptions builder
-
attachments
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the PostChangesOptions builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the PostChangesOptions builder
-
descending
Set the descending.- Parameters:
descending
- the descending- Returns:
- the PostChangesOptions builder
-
feed
Set the feed.- Parameters:
feed
- the feed- Returns:
- the PostChangesOptions builder
-
filter
Set the filter.- Parameters:
filter
- the filter- Returns:
- the PostChangesOptions builder
-
heartbeat
Set the heartbeat.- Parameters:
heartbeat
- the heartbeat- Returns:
- the PostChangesOptions builder
-
includeDocs
Set the includeDocs.- Parameters:
includeDocs
- the includeDocs- Returns:
- the PostChangesOptions builder
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the PostChangesOptions builder
-
seqInterval
Set the seqInterval.- Parameters:
seqInterval
- the seqInterval- Returns:
- the PostChangesOptions builder
-
since
Set the since.- Parameters:
since
- the since- Returns:
- the PostChangesOptions builder
-
style
Set the style.- Parameters:
style
- the style- Returns:
- the PostChangesOptions builder
-
timeout
Set the timeout.- Parameters:
timeout
- the timeout- Returns:
- the PostChangesOptions builder
-
view
Set the view.- Parameters:
view
- the view- Returns:
- the PostChangesOptions builder
-