Class ListTrainingExamplesOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.ListTrainingExamplesOptions.Builder
Enclosing class:
ListTrainingExamplesOptions

public static class ListTrainingExamplesOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      Builds a ListTrainingExamplesOptions.
      Returns:
      the new ListTrainingExamplesOptions instance
    • environmentId

      public ListTrainingExamplesOptions.Builder environmentId​(String environmentId)
      Set the environmentId.
      Parameters:
      environmentId - the environmentId
      Returns:
      the ListTrainingExamplesOptions builder
    • collectionId

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

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