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