Package com.ibm.cloud.cloudant.v1.model
Class GetReplicationDocumentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.GetReplicationDocumentOptions.Builder
- Enclosing class:
GetReplicationDocumentOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Boolean attachments) Set the attachments.attEncodingInfo
(Boolean attEncodingInfo) Set the attEncodingInfo.build()
Builds a GetReplicationDocumentOptions.Set the conflicts.deletedConflicts
(Boolean deletedConflicts) Set the deletedConflicts.Set the docId.ifNoneMatch
(String ifNoneMatch) Set the ifNoneMatch.Set the latest.Set the localSeq.Set the meta.Set the rev.Set the revs.Set the revsInfo.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
docId
- the docId
-
-
Method Details
-
build
Builds a GetReplicationDocumentOptions.- Returns:
- the new GetReplicationDocumentOptions instance
-
docId
Set the docId.- Parameters:
docId
- the docId- Returns:
- the GetReplicationDocumentOptions builder
-
ifNoneMatch
Set the ifNoneMatch.- Parameters:
ifNoneMatch
- the ifNoneMatch- Returns:
- the GetReplicationDocumentOptions builder
-
attachments
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the GetReplicationDocumentOptions builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the GetReplicationDocumentOptions builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the GetReplicationDocumentOptions builder
-
deletedConflicts
Set the deletedConflicts.- Parameters:
deletedConflicts
- the deletedConflicts- Returns:
- the GetReplicationDocumentOptions builder
-
latest
Set the latest.- Parameters:
latest
- the latest- Returns:
- the GetReplicationDocumentOptions builder
-
localSeq
Set the localSeq.- Parameters:
localSeq
- the localSeq- Returns:
- the GetReplicationDocumentOptions builder
-
meta
Set the meta.- Parameters:
meta
- the meta- Returns:
- the GetReplicationDocumentOptions builder
-
rev
Set the rev.- Parameters:
rev
- the rev- Returns:
- the GetReplicationDocumentOptions builder
-
revs
Set the revs.- Parameters:
revs
- the revs- Returns:
- the GetReplicationDocumentOptions builder
-
revsInfo
Set the revsInfo.- Parameters:
revsInfo
- the revsInfo- Returns:
- the GetReplicationDocumentOptions builder
-