Package com.ibm.cloud.cloudant.v1.model
Class HeadAttachmentOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.HeadAttachmentOptions.Builder
-
- Enclosing class:
- HeadAttachmentOptions
public static class HeadAttachmentOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeadAttachmentOptions.BuilderattachmentName(String attachmentName)Set the attachmentName.HeadAttachmentOptionsbuild()Builds a HeadAttachmentOptions.HeadAttachmentOptions.Builderdb(String db)Set the db.HeadAttachmentOptions.BuilderdocId(String docId)Set the docId.HeadAttachmentOptions.BuilderifMatch(String ifMatch)Set the ifMatch.HeadAttachmentOptions.BuilderifNoneMatch(String ifNoneMatch)Set the ifNoneMatch.HeadAttachmentOptions.Builderrev(String rev)Set the rev.
-
-
-
Method Detail
-
build
public HeadAttachmentOptions build()
Builds a HeadAttachmentOptions.- Returns:
- the new HeadAttachmentOptions instance
-
db
public HeadAttachmentOptions.Builder db(String db)
Set the db.- Parameters:
db- the db- Returns:
- the HeadAttachmentOptions builder
-
docId
public HeadAttachmentOptions.Builder docId(String docId)
Set the docId.- Parameters:
docId- the docId- Returns:
- the HeadAttachmentOptions builder
-
attachmentName
public HeadAttachmentOptions.Builder attachmentName(String attachmentName)
Set the attachmentName.- Parameters:
attachmentName- the attachmentName- Returns:
- the HeadAttachmentOptions builder
-
ifMatch
public HeadAttachmentOptions.Builder ifMatch(String ifMatch)
Set the ifMatch.- Parameters:
ifMatch- the ifMatch- Returns:
- the HeadAttachmentOptions builder
-
ifNoneMatch
public HeadAttachmentOptions.Builder ifNoneMatch(String ifNoneMatch)
Set the ifNoneMatch.- Parameters:
ifNoneMatch- the ifNoneMatch- Returns:
- the HeadAttachmentOptions builder
-
rev
public HeadAttachmentOptions.Builder rev(String rev)
Set the rev.- Parameters:
rev- the rev- Returns:
- the HeadAttachmentOptions builder
-
-