Package com.ibm.cloud.cloudant.v1.model
Class GetDocumentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GetDocumentOptions.Builder
-
- Enclosing class:
- GetDocumentOptions
public static class GetDocumentOptions.Builder extends Object
Builder.
-
-
Method Summary
-
-
-
Method Detail
-
build
public GetDocumentOptions build()
Builds a GetDocumentOptions.- Returns:
- the new GetDocumentOptions instance
-
db
public GetDocumentOptions.Builder db(String db)
Set the db.- Parameters:
db- the db- Returns:
- the GetDocumentOptions builder
-
docId
public GetDocumentOptions.Builder docId(String docId)
Set the docId.- Parameters:
docId- the docId- Returns:
- the GetDocumentOptions builder
-
ifNoneMatch
public GetDocumentOptions.Builder ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.- Parameters:
ifNoneMatch- the ifNoneMatch- Returns:
- the GetDocumentOptions builder
-
attachments
public GetDocumentOptions.Builder attachments(Boolean attachments)
Set the attachments.- Parameters:
attachments- the attachments- Returns:
- the GetDocumentOptions builder
-
attEncodingInfo
public GetDocumentOptions.Builder attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.- Parameters:
attEncodingInfo- the attEncodingInfo- Returns:
- the GetDocumentOptions builder
-
conflicts
public GetDocumentOptions.Builder conflicts(Boolean conflicts)
Set the conflicts.- Parameters:
conflicts- the conflicts- Returns:
- the GetDocumentOptions builder
-
deletedConflicts
public GetDocumentOptions.Builder deletedConflicts(Boolean deletedConflicts)
Set the deletedConflicts.- Parameters:
deletedConflicts- the deletedConflicts- Returns:
- the GetDocumentOptions builder
-
latest
public GetDocumentOptions.Builder latest(Boolean latest)
Set the latest.- Parameters:
latest- the latest- Returns:
- the GetDocumentOptions builder
-
localSeq
public GetDocumentOptions.Builder localSeq(Boolean localSeq)
Set the localSeq.- Parameters:
localSeq- the localSeq- Returns:
- the GetDocumentOptions builder
-
meta
public GetDocumentOptions.Builder meta(Boolean meta)
Set the meta.- Parameters:
meta- the meta- Returns:
- the GetDocumentOptions builder
-
rev
public GetDocumentOptions.Builder rev(String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the GetDocumentOptions builder
-
revs
public GetDocumentOptions.Builder revs(Boolean revs)
Set the revs.- Parameters:
revs- the revs- Returns:
- the GetDocumentOptions builder
-
revsInfo
public GetDocumentOptions.Builder revsInfo(Boolean revsInfo)
Set the revsInfo.- Parameters:
revsInfo- the revsInfo- Returns:
- the GetDocumentOptions builder
-
-