public static class DeleteDocumentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String collectionId,
String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
DeleteDocumentOptions |
build()
Builds a DeleteDocumentOptions.
|
DeleteDocumentOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
DeleteDocumentOptions.Builder |
documentId(String documentId)
Set the documentId.
|
DeleteDocumentOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
public DeleteDocumentOptions build()
public DeleteDocumentOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic DeleteDocumentOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic DeleteDocumentOptions.Builder documentId(String documentId)
documentId
- the documentIdCopyright © 2023 IBM Cloud. All rights reserved.