Package com.ibm.cloud.cloudant.v1.model
Class GetDocumentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.GetDocumentOptions.Builder
- Enclosing class:
GetDocumentOptions
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionattachments
(Boolean attachments) Set the attachments.attEncodingInfo
(Boolean attEncodingInfo) Set the attEncodingInfo.build()
Builds a GetDocumentOptions.Set the conflicts.Set the db.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:
db
- the dbdocId
- the docId
-
-
Method Details
-
build
Builds a GetDocumentOptions.- Returns:
- the new GetDocumentOptions instance
-
db
Set the db.- Parameters:
db
- the db- Returns:
- the GetDocumentOptions builder
-
docId
Set the docId.- Parameters:
docId
- the docId- Returns:
- the GetDocumentOptions builder
-
ifNoneMatch
Set the ifNoneMatch.- Parameters:
ifNoneMatch
- the ifNoneMatch- Returns:
- the GetDocumentOptions builder
-
attachments
Set the attachments.- Parameters:
attachments
- the attachments- Returns:
- the GetDocumentOptions builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo
- the attEncodingInfo- Returns:
- the GetDocumentOptions builder
-
conflicts
Set the conflicts.- Parameters:
conflicts
- the conflicts- Returns:
- the GetDocumentOptions builder
-
deletedConflicts
Set the deletedConflicts.- Parameters:
deletedConflicts
- the deletedConflicts- Returns:
- the GetDocumentOptions builder
-
latest
Set the latest.- Parameters:
latest
- the latest- Returns:
- the GetDocumentOptions builder
-
localSeq
Set the localSeq.- Parameters:
localSeq
- the localSeq- Returns:
- the GetDocumentOptions builder
-
meta
Set the meta.- Parameters:
meta
- the meta- Returns:
- the GetDocumentOptions builder
-
rev
Set the rev.- Parameters:
rev
- the rev- Returns:
- the GetDocumentOptions builder
-
revs
Set the revs.- Parameters:
revs
- the revs- Returns:
- the GetDocumentOptions builder
-
revsInfo
Set the revsInfo.- Parameters:
revsInfo
- the revsInfo- Returns:
- the GetDocumentOptions builder
-