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