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