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.
  • Method Details

    • newBuilder

      public CreateEnrichmentOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateEnrichmentOptions builder
    • projectId

      public String 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

      public CreateEnrichment enrichment()
      Gets the enrichment.

      Information about a specific enrichment.

      Returns:
      the enrichment
    • file

      public InputStream file()
      Gets the file.

      The enrichment file to upload.

      Returns:
      the file