Uses of Class
com.ibm.watson.discovery.v1.model.AddDocumentOptions.Builder
| Package | Description |
|---|---|
| com.ibm.watson.discovery.v1.model |
-
Uses of AddDocumentOptions.Builder in com.ibm.watson.discovery.v1.model
Methods in com.ibm.watson.discovery.v1.model that return AddDocumentOptions.Builder Modifier and Type Method Description AddDocumentOptions.BuilderAddDocumentOptions.Builder. collectionId(String collectionId)Set the collectionId.AddDocumentOptions.BuilderAddDocumentOptions.Builder. environmentId(String environmentId)Set the environmentId.AddDocumentOptions.BuilderAddDocumentOptions.Builder. file(File file)Set the file.AddDocumentOptions.BuilderAddDocumentOptions.Builder. file(InputStream file)Set the file.AddDocumentOptions.BuilderAddDocumentOptions.Builder. fileContentType(String fileContentType)Set the fileContentType.AddDocumentOptions.BuilderAddDocumentOptions.Builder. filename(String filename)Set the filename.AddDocumentOptions.BuilderAddDocumentOptions.Builder. metadata(String metadata)Set the metadata.AddDocumentOptions.BuilderAddDocumentOptions. newBuilder()New builder.