Package com.ibm.cloud.cloudant.v1.model
Class GetLocalDocumentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.GetLocalDocumentOptions.Builder
-
- Enclosing class:
- GetLocalDocumentOptions
public static class GetLocalDocumentOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetLocalDocumentOptions.Builderaccept(String accept)Set the accept.GetLocalDocumentOptions.Builderattachments(Boolean attachments)Set the attachments.GetLocalDocumentOptions.BuilderattEncodingInfo(Boolean attEncodingInfo)Set the attEncodingInfo.GetLocalDocumentOptionsbuild()Builds a GetLocalDocumentOptions.GetLocalDocumentOptions.Builderdb(String db)Set the db.GetLocalDocumentOptions.BuilderdocId(String docId)Set the docId.GetLocalDocumentOptions.BuilderifNoneMatch(String ifNoneMatch)Set the ifNoneMatch.GetLocalDocumentOptions.BuilderlocalSeq(Boolean localSeq)Set the localSeq.
-
-
-
Method Detail
-
build
public GetLocalDocumentOptions build()
Builds a GetLocalDocumentOptions.- Returns:
- the new GetLocalDocumentOptions instance
-
db
public GetLocalDocumentOptions.Builder db(String db)
Set the db.- Parameters:
db- the db- Returns:
- the GetLocalDocumentOptions builder
-
docId
public GetLocalDocumentOptions.Builder docId(String docId)
Set the docId.- Parameters:
docId- the docId- Returns:
- the GetLocalDocumentOptions builder
-
accept
public GetLocalDocumentOptions.Builder accept(String accept)
Set the accept.- Parameters:
accept- the accept- Returns:
- the GetLocalDocumentOptions builder
-
ifNoneMatch
public GetLocalDocumentOptions.Builder ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.- Parameters:
ifNoneMatch- the ifNoneMatch- Returns:
- the GetLocalDocumentOptions builder
-
attachments
public GetLocalDocumentOptions.Builder attachments(Boolean attachments)
Set the attachments.- Parameters:
attachments- the attachments- Returns:
- the GetLocalDocumentOptions builder
-
attEncodingInfo
public GetLocalDocumentOptions.Builder attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.- Parameters:
attEncodingInfo- the attEncodingInfo- Returns:
- the GetLocalDocumentOptions builder
-
localSeq
public GetLocalDocumentOptions.Builder localSeq(Boolean localSeq)
Set the localSeq.- Parameters:
localSeq- the localSeq- Returns:
- the GetLocalDocumentOptions builder
-
-