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