Class Collection

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

public class Collection
extends com.ibm.cloud.sdk.core.service.model.GenericModel
A collection for storing documents.
  • Constructor Summary

    Constructors
    Constructor Description
    Collection()  
  • Method Summary

    Modifier and Type Method Description
    String getCollectionId()
    Gets the collectionId.
    String getName()
    Gets the name.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Collection

      public Collection()
  • Method Details

    • getCollectionId

      public String getCollectionId()
      Gets the collectionId.

      The unique identifier of the collection.

      Returns:
      the collectionId
    • getName

      public String getName()
      Gets the name.

      The name of the collection.

      Returns:
      the name