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