Class TrainingExample

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

public class TrainingExample
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Training example details.
  • Method Details

    • newBuilder

      public TrainingExample.Builder newBuilder()
      New builder.
      Returns:
      a TrainingExample builder
    • documentId

      public String documentId()
      Gets the documentId.

      The document ID associated with this training example.

      Returns:
      the documentId
    • crossReference

      public String crossReference()
      Gets the crossReference.

      The cross reference associated with this training example.

      Returns:
      the crossReference
    • relevance

      public Long relevance()
      Gets the relevance.

      The relevance of the training example.

      Returns:
      the relevance