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 GetTrainingQueryOptionsbuild()Builds a GetTrainingQueryOptions.GetTrainingQueryOptions.BuilderprojectId(String projectId)Set the projectId.GetTrainingQueryOptions.BuilderqueryId(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
-