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