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