Class GetTrainingExampleOptions

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

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

    • newBuilder

      public GetTrainingExampleOptions.Builder newBuilder()
      New builder.
      Returns:
      a GetTrainingExampleOptions builder
    • environmentId

      public String environmentId()
      Gets the environmentId.

      The ID of the environment.

      Returns:
      the environmentId
    • collectionId

      public String collectionId()
      Gets the collectionId.

      The ID of the collection.

      Returns:
      the collectionId
    • queryId

      public String queryId()
      Gets the queryId.

      The ID of the query used for training.

      Returns:
      the queryId
    • exampleId

      public String exampleId()
      Gets the exampleId.

      The ID of the document as it is indexed.

      Returns:
      the exampleId