Class CollectionEnrichment

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

public class CollectionEnrichment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object describing an Enrichment for a collection.
  • Method Details

    • newBuilder

      public CollectionEnrichment.Builder newBuilder()
      New builder.
      Returns:
      a CollectionEnrichment builder
    • enrichmentId

      public String enrichmentId()
      Gets the enrichmentId.

      The unique identifier of this enrichment.

      Returns:
      the enrichmentId
    • fields

      public List<String> fields()
      Gets the fields.

      An array of field names that the enrichment is applied to.

      Returns:
      the fields