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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String projectId, String queryId)
      Instantiates a new builder with required properties.
      Parameters:
      projectId - the projectId
      queryId - the queryId
  • Method Details

    • build

      public GetTrainingQueryOptions build()
      Builds a GetTrainingQueryOptions.
      Returns:
      the new GetTrainingQueryOptions instance
    • projectId

      public GetTrainingQueryOptions.Builder projectId​(String projectId)
      Set the projectId.
      Parameters:
      projectId - the projectId
      Returns:
      the GetTrainingQueryOptions builder
    • queryId

      public GetTrainingQueryOptions.Builder queryId​(String queryId)
      Set the queryId.
      Parameters:
      queryId - the queryId
      Returns:
      the GetTrainingQueryOptions builder