Class CreateEnrichment

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.CreateEnrichment
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CreateEnrichment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information about a specific enrichment.
  • Method Details

    • newBuilder

      public CreateEnrichment.Builder newBuilder()
      New builder.
      Returns:
      a CreateEnrichment builder
    • name

      public String name()
      Gets the name.

      The human readable name for this enrichment.

      Returns:
      the name
    • description

      public String description()
      Gets the description.

      The description of this enrichment.

      Returns:
      the description
    • type

      public String type()
      Gets the type.

      The type of this enrichment.

      Returns:
      the type
    • options

      public EnrichmentOptions options()
      Gets the options.

      An object that contains options for the current enrichment. Starting with version `2020-08-30`, the enrichment options are not included in responses from the List Enrichments method.

      Returns:
      the options