public static class ListTrainingExamplesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String collectionId,
String queryId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ListTrainingExamplesOptions |
build()
Builds a ListTrainingExamplesOptions.
|
ListTrainingExamplesOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
ListTrainingExamplesOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
ListTrainingExamplesOptions.Builder |
queryId(String queryId)
Set the queryId.
|
public ListTrainingExamplesOptions build()
public ListTrainingExamplesOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic ListTrainingExamplesOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic ListTrainingExamplesOptions.Builder queryId(String queryId)
queryId
- the queryIdCopyright © 2023 IBM Cloud. All rights reserved.