Class CollectionDetails

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

public class CollectionDetails
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A collection for storing documents.
  • Method Details

    • newBuilder

      public CollectionDetails.Builder newBuilder()
      New builder.
      Returns:
      a CollectionDetails builder
    • collectionId

      public String collectionId()
      Gets the collectionId.

      The unique identifier of the collection.

      Returns:
      the collectionId
    • name

      public String name()
      Gets the name.

      The name of the collection.

      Returns:
      the name
    • description

      public String description()
      Gets the description.

      A description of the collection.

      Returns:
      the description
    • created

      public Date created()
      Gets the created.

      The date that the collection was created.

      Returns:
      the created
    • language

      public String language()
      Gets the language.

      The language of the collection.

      Returns:
      the language
    • enrichments

      public List<CollectionEnrichment> enrichments()
      Gets the enrichments.

      An array of enrichments that are applied to this collection.

      Returns:
      the enrichments