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