Class DeleteTrainingExampleOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.DeleteTrainingExampleOptions.Builder
- Enclosing class:
- DeleteTrainingExampleOptions
public static class DeleteTrainingExampleOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdcollectionId
- the collectionIdqueryId
- the queryIdexampleId
- the exampleId
-
-
Method Details
-
build
Builds a DeleteTrainingExampleOptions.- Returns:
- the new DeleteTrainingExampleOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the DeleteTrainingExampleOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the DeleteTrainingExampleOptions builder
-
queryId
Set the queryId.- Parameters:
queryId
- the queryId- Returns:
- the DeleteTrainingExampleOptions builder
-
exampleId
Set the exampleId.- Parameters:
exampleId
- the exampleId- Returns:
- the DeleteTrainingExampleOptions builder
-