Class CreateCollectionOptions

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

public class CreateCollectionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createCollection options.
  • Method Details

    • newBuilder

      public CreateCollectionOptions.Builder newBuilder()
      New builder.
      Returns:
      a CreateCollectionOptions 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
    • 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
    • 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