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