Class ListTrainingDataOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.ListTrainingDataOptions.Builder
- Enclosing class:
- ListTrainingDataOptions
public static class ListTrainingDataOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ListTrainingDataOptions
build()
Builds a ListTrainingDataOptions.ListTrainingDataOptions.Builder
collectionId(String collectionId)
Set the collectionId.ListTrainingDataOptions.Builder
environmentId(String environmentId)
Set the environmentId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdcollectionId
- the collectionId
-
-
Method Details
-
build
Builds a ListTrainingDataOptions.- Returns:
- the new ListTrainingDataOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the ListTrainingDataOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the ListTrainingDataOptions builder
-