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