public static class UpdateTrainingExampleOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateTrainingExampleOptions.Builder()
Instantiates a new builder.
|
UpdateTrainingExampleOptions.Builder(java.lang.String environmentId,
java.lang.String collectionId,
java.lang.String queryId,
java.lang.String exampleId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateTrainingExampleOptions |
build()
Builds a UpdateTrainingExampleOptions.
|
UpdateTrainingExampleOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
UpdateTrainingExampleOptions.Builder |
crossReference(java.lang.String crossReference)
Set the crossReference.
|
UpdateTrainingExampleOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
UpdateTrainingExampleOptions.Builder |
exampleId(java.lang.String exampleId)
Set the exampleId.
|
UpdateTrainingExampleOptions.Builder |
queryId(java.lang.String queryId)
Set the queryId.
|
UpdateTrainingExampleOptions.Builder |
relevance(long relevance)
Set the relevance.
|
public UpdateTrainingExampleOptions.Builder()
public UpdateTrainingExampleOptions.Builder(java.lang.String environmentId, java.lang.String collectionId, java.lang.String queryId, java.lang.String exampleId)
environmentId
- the environmentIdcollectionId
- the collectionIdqueryId
- the queryIdexampleId
- the exampleIdpublic UpdateTrainingExampleOptions build()
public UpdateTrainingExampleOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic UpdateTrainingExampleOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic UpdateTrainingExampleOptions.Builder queryId(java.lang.String queryId)
queryId
- the queryIdpublic UpdateTrainingExampleOptions.Builder exampleId(java.lang.String exampleId)
exampleId
- the exampleIdpublic UpdateTrainingExampleOptions.Builder crossReference(java.lang.String crossReference)
crossReference
- the crossReferencepublic UpdateTrainingExampleOptions.Builder relevance(long relevance)
relevance
- the relevance