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 classCreateEnrichmentOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description CreateEnrichmentenrichment()Gets the enrichment.InputStreamfile()Gets the file.CreateEnrichmentOptions.BuildernewBuilder()New builder.StringprojectId()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
-