Class CreateEnrichmentOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.CreateEnrichmentOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateEnrichmentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createEnrichment options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateEnrichmentOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description CreateEnrichment
enrichment()
Gets the enrichment.InputStream
file()
Gets the file.CreateEnrichmentOptions.Builder
newBuilder()
New builder.String
projectId()
Gets the projectId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateEnrichmentOptions builder
-
projectId
Gets the projectId.The ID of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
- Returns:
- the projectId
-
enrichment
Gets the enrichment.Information about a specific enrichment.
- Returns:
- the enrichment
-
file
Gets the file.The enrichment file to upload.
- Returns:
- the file
-