public class CreateEnrichmentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateEnrichmentOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
CreateEnrichment |
enrichment()
Gets the enrichment.
|
InputStream |
file()
Gets the file.
|
CreateEnrichmentOptions.Builder |
newBuilder()
New builder.
|
String |
projectId()
Gets the projectId.
|
public CreateEnrichmentOptions.Builder newBuilder()
public String projectId()
The Universally Unique Identifier (UUID) of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public CreateEnrichment enrichment()
Information about a specific enrichment.
public InputStream file()
The enrichment file to upload. Expected file types per enrichment are as follows:
* CSV for `dictionary` and `sentence_classifier` (the training data CSV file to upload).
* PEAR for `uima_annotator` and `rule_based` (Explorer)
* ZIP for `watson_knowledge_studio_model` and `rule_based` (Studio Advanced Rule Editor).
Copyright © 2024 IBM Cloud. All rights reserved.