Class UpdateTrainingQueryOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.UpdateTrainingQueryOptions
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateTrainingQueryOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The updateTrainingQuery options.
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateTrainingQueryOptions.BuilderBuilder.
- 
Method SummaryModifier and Type Method Description List<TrainingExample>examples()Gets the examples.Stringfilter()Gets the filter.StringnaturalLanguageQuery()Gets the naturalLanguageQuery.UpdateTrainingQueryOptions.BuildernewBuilder()New builder.StringprojectId()Gets the projectId.StringqueryId()Gets the queryId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModelequals, hashCode, toString
- 
Method Details- 
newBuilderNew builder.- Returns:
- a UpdateTrainingQueryOptions builder
 
- 
projectIdGets the projectId.The ID of the project. This information can be found from the *Integrate and Deploy* page in Discovery. - Returns:
- the projectId
 
- 
queryIdGets the queryId.The ID of the query used for training. - Returns:
- the queryId
 
- 
naturalLanguageQueryGets the naturalLanguageQuery.The natural text query for the training query. - Returns:
- the naturalLanguageQuery
 
- 
examplesGets the examples.Array of training examples. - Returns:
- the examples
 
- 
filterGets the filter.The filter used on the collection before the **natural_language_query** is applied. - Returns:
- the filter
 
 
-