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.Builder
accept(String accept)
Set the accept.GetLocalDocumentOptions.Builder
addAttsSince(String attsSince)
Adds an attsSince to attsSince.GetLocalDocumentOptions.Builder
attachments(Boolean attachments)
Set the attachments.GetLocalDocumentOptions.Builder
attEncodingInfo(Boolean attEncodingInfo)
Set the attEncodingInfo.GetLocalDocumentOptions.Builder
attsSince(List<String> attsSince)
Set the attsSince.GetLocalDocumentOptions
build()
Builds a GetLocalDocumentOptions.GetLocalDocumentOptions.Builder
db(String db)
Set the db.GetLocalDocumentOptions.Builder
docId(String docId)
Set the docId.GetLocalDocumentOptions.Builder
ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.GetLocalDocumentOptions.Builder
localSeq(Boolean localSeq)
Set the localSeq.
-
-
-
Method Detail
-
build
public GetLocalDocumentOptions build()
Builds a GetLocalDocumentOptions.- Returns:
- the new GetLocalDocumentOptions instance
-
addAttsSince
public GetLocalDocumentOptions.Builder addAttsSince(String attsSince)
Adds an attsSince to attsSince.- Parameters:
attsSince
- the new attsSince- Returns:
- the GetLocalDocumentOptions builder
-
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
-
attsSince
public GetLocalDocumentOptions.Builder attsSince(List<String> attsSince)
Set the attsSince. Existing attsSince will be replaced.- Parameters:
attsSince
- the attsSince- Returns:
- the GetLocalDocumentOptions builder
-
localSeq
public GetLocalDocumentOptions.Builder localSeq(Boolean localSeq)
Set the localSeq.- Parameters:
localSeq
- the localSeq- Returns:
- the GetLocalDocumentOptions builder
-
-