public static class UpdateTrainingExampleOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String collectionId,
String queryId,
String exampleId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateTrainingExampleOptions |
build()
Builds a UpdateTrainingExampleOptions.
|
UpdateTrainingExampleOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
UpdateTrainingExampleOptions.Builder |
crossReference(String crossReference)
Set the crossReference.
|
UpdateTrainingExampleOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
UpdateTrainingExampleOptions.Builder |
exampleId(String exampleId)
Set the exampleId.
|
UpdateTrainingExampleOptions.Builder |
queryId(String queryId)
Set the queryId.
|
UpdateTrainingExampleOptions.Builder |
relevance(long relevance)
Set the relevance.
|
public UpdateTrainingExampleOptions build()
public UpdateTrainingExampleOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic UpdateTrainingExampleOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic UpdateTrainingExampleOptions.Builder queryId(String queryId)
queryId
- the queryIdpublic UpdateTrainingExampleOptions.Builder exampleId(String exampleId)
exampleId
- the exampleIdpublic UpdateTrainingExampleOptions.Builder crossReference(String crossReference)
crossReference
- the crossReferencepublic UpdateTrainingExampleOptions.Builder relevance(long relevance)
relevance
- the relevanceCopyright © 2024 IBM Cloud. All rights reserved.