Class UpdateTrainingExampleOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.UpdateTrainingExampleOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateTrainingExampleOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateTrainingExample options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateTrainingExampleOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description StringcollectionId()Gets the collectionId.StringcrossReference()Gets the crossReference.StringenvironmentId()Gets the environmentId.StringexampleId()Gets the exampleId.UpdateTrainingExampleOptions.BuildernewBuilder()New builder.StringqueryId()Gets the queryId.Longrelevance()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 UpdateTrainingExampleOptions 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
-
exampleId
Gets the exampleId.The ID of the document as it is indexed.
- Returns:
- the exampleId
-
crossReference
Gets the crossReference.The example to add.
- Returns:
- the crossReference
-
relevance
Gets the relevance.The relevance value for this example.
- Returns:
- the relevance
-