Package com.ibm.cloud.cloudant.v1.model
Class HeadDocumentOptions.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.HeadDocumentOptions.Builder
- Enclosing class:
 HeadDocumentOptions
Builder.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a HeadDocumentOptions.Set the db.Set the docId.ifNoneMatch(String ifNoneMatch) Set the ifNoneMatch.Set the latest.Set the rev. 
- 
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 HeadDocumentOptions.- Returns:
 - the new HeadDocumentOptions instance
 
 - 
db
Set the db.- Parameters:
 db- the db- Returns:
 - the HeadDocumentOptions builder
 
 - 
docId
Set the docId.- Parameters:
 docId- the docId- Returns:
 - the HeadDocumentOptions builder
 
 - 
ifNoneMatch
Set the ifNoneMatch.- Parameters:
 ifNoneMatch- the ifNoneMatch- Returns:
 - the HeadDocumentOptions builder
 
 - 
latest
Set the latest.- Parameters:
 latest- the latest- Returns:
 - the HeadDocumentOptions builder
 
 - 
rev
Set the rev.- Parameters:
 rev- the rev- Returns:
 - the HeadDocumentOptions builder
 
 
 -