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
-
Constructor Details
-
Collection
public Collection()
-
-
Method Details
-
getCollectionId
Gets the collectionId.The unique identifier of the collection.
- Returns:
- the collectionId
-
getName
Gets the name.The name of the collection.
- Returns:
- the name
-