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 DeleteTrainingExampleOptionsbuild()Builds a DeleteTrainingExampleOptions.DeleteTrainingExampleOptions.BuildercollectionId(String collectionId)Set the collectionId.DeleteTrainingExampleOptions.BuilderenvironmentId(String environmentId)Set the environmentId.DeleteTrainingExampleOptions.BuilderexampleId(String exampleId)Set the exampleId.DeleteTrainingExampleOptions.BuilderqueryId(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
-