public static class DeleteDocumentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
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 |
projectId(String projectId)
Set the projectId.
|
DeleteDocumentOptions.Builder |
xWatsonDiscoveryForce(Boolean xWatsonDiscoveryForce)
Set the xWatsonDiscoveryForce.
|
public DeleteDocumentOptions build()
public DeleteDocumentOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic DeleteDocumentOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic DeleteDocumentOptions.Builder documentId(String documentId)
documentId
- the documentIdpublic DeleteDocumentOptions.Builder xWatsonDiscoveryForce(Boolean xWatsonDiscoveryForce)
xWatsonDiscoveryForce
- the xWatsonDiscoveryForceCopyright © 2021 IBM Cloud. All rights reserved.