public static class GetTrainingExampleOptions.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 |
---|---|
GetTrainingExampleOptions |
build()
Builds a GetTrainingExampleOptions.
|
GetTrainingExampleOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
GetTrainingExampleOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
GetTrainingExampleOptions.Builder |
exampleId(String exampleId)
Set the exampleId.
|
GetTrainingExampleOptions.Builder |
queryId(String queryId)
Set the queryId.
|
public GetTrainingExampleOptions build()
public GetTrainingExampleOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic GetTrainingExampleOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic GetTrainingExampleOptions.Builder queryId(String queryId)
queryId
- the queryIdpublic GetTrainingExampleOptions.Builder exampleId(String exampleId)
exampleId
- the exampleIdCopyright © 2024 IBM Cloud. All rights reserved.