| Package | Description | 
|---|---|
| com.ibm.watson.discovery.v2.model | 
| Modifier and Type | Method and Description | 
|---|---|
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. collectionId(String collectionId)Set the collectionId. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. file(File file)Set the file. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. file(InputStream file)Set the file. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. fileContentType(String fileContentType)Set the fileContentType. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. filename(String filename)Set the filename. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. metadata(String metadata)Set the metadata. | 
| AddDocumentOptions.Builder | AddDocumentOptions. newBuilder()New builder. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. projectId(String projectId)Set the projectId. | 
| AddDocumentOptions.Builder | AddDocumentOptions.Builder. xWatsonDiscoveryForce(Boolean xWatsonDiscoveryForce)Set the xWatsonDiscoveryForce. | 
Copyright © 2023 IBM Cloud. All rights reserved.