Class CreateTrainingExampleOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.CreateTrainingExampleOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateTrainingExampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createTrainingExample options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateTrainingExampleOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
collectionId()
Gets the collectionId.String
crossReference()
Gets the crossReference.String
documentId()
Gets the documentId.String
environmentId()
Gets the environmentId.CreateTrainingExampleOptions.Builder
newBuilder()
New builder.String
queryId()
Gets the queryId.Long
relevance()
Gets the relevance.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateTrainingExampleOptions builder
-
environmentId
Gets the environmentId.The ID of the environment.
- Returns:
- the environmentId
-
collectionId
Gets the collectionId.The ID of the collection.
- Returns:
- the collectionId
-
queryId
Gets the queryId.The ID of the query used for training.
- Returns:
- the queryId
-
documentId
Gets the documentId.The document ID associated with this training example.
- Returns:
- the documentId
-
crossReference
Gets the crossReference.The cross reference associated with this training example.
- Returns:
- the crossReference
-
relevance
Gets the relevance.The relevance of the training example.
- Returns:
- the relevance
-