Package com.ibm.cloud.cloudant.v1.model
Class HeadDocumentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.HeadDocumentOptions.Builder
-
- Enclosing class:
- HeadDocumentOptions
public static class HeadDocumentOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadDocumentOptions
build()
Builds a HeadDocumentOptions.HeadDocumentOptions.Builder
db(String db)
Set the db.HeadDocumentOptions.Builder
docId(String docId)
Set the docId.HeadDocumentOptions.Builder
ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.HeadDocumentOptions.Builder
latest(Boolean latest)
Set the latest.HeadDocumentOptions.Builder
rev(String rev)
Set the rev.
-
-
-
Method Detail
-
build
public HeadDocumentOptions build()
Builds a HeadDocumentOptions.- Returns:
- the new HeadDocumentOptions instance
-
db
public HeadDocumentOptions.Builder db(String db)
Set the db.- Parameters:
db
- the db- Returns:
- the HeadDocumentOptions builder
-
docId
public HeadDocumentOptions.Builder docId(String docId)
Set the docId.- Parameters:
docId
- the docId- Returns:
- the HeadDocumentOptions builder
-
ifNoneMatch
public HeadDocumentOptions.Builder ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.- Parameters:
ifNoneMatch
- the ifNoneMatch- Returns:
- the HeadDocumentOptions builder
-
latest
public HeadDocumentOptions.Builder latest(Boolean latest)
Set the latest.- Parameters:
latest
- the latest- Returns:
- the HeadDocumentOptions builder
-
rev
public HeadDocumentOptions.Builder rev(String rev)
Set the rev.- Parameters:
rev
- the rev- Returns:
- the HeadDocumentOptions builder
-
-