Class UpdateCollectionOptions

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

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

    • newBuilder

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

      public String projectId()
      Gets the projectId.

      The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.

      Returns:
      the projectId
    • collectionId

      public String collectionId()
      Gets the collectionId.

      The ID 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
    • enrichments

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

      An array of enrichments that are applied to this collection.

      Returns:
      the enrichments