Package com.ibm.cloud.cloudant.v1.model
Class GetLocalDocumentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.GetLocalDocumentOptions.Builder
- Enclosing class:
- GetLocalDocumentOptions
Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the accept.attachments(Boolean attachments) Set the attachments.attEncodingInfo(Boolean attEncodingInfo) Set the attEncodingInfo.build()Builds a GetLocalDocumentOptions.Set the db.Set the docId.ifNoneMatch(String ifNoneMatch) Set the ifNoneMatch.Set the localSeq.
-
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 GetLocalDocumentOptions.- Returns:
- the new GetLocalDocumentOptions instance
-
db
Set the db.- Parameters:
db- the db- Returns:
- the GetLocalDocumentOptions builder
-
docId
Set the docId.- Parameters:
docId- the docId- Returns:
- the GetLocalDocumentOptions builder
-
accept
Set the accept.- Parameters:
accept- the accept- Returns:
- the GetLocalDocumentOptions builder
-
ifNoneMatch
Set the ifNoneMatch.- Parameters:
ifNoneMatch- the ifNoneMatch- Returns:
- the GetLocalDocumentOptions builder
-
attachments
Set the attachments.- Parameters:
attachments- the attachments- Returns:
- the GetLocalDocumentOptions builder
-
attEncodingInfo
Set the attEncodingInfo.- Parameters:
attEncodingInfo- the attEncodingInfo- Returns:
- the GetLocalDocumentOptions builder
-
localSeq
Set the localSeq.- Parameters:
localSeq- the localSeq- Returns:
- the GetLocalDocumentOptions builder
-