Class GetCollectionOptions

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

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

    • newBuilder

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

      public String collectionId()
      Gets the collectionId.

      The ID of the collection.

      Returns:
      the collectionId