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