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