Class DeleteTrainingDataOptions.Builder

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

public static class DeleteTrainingDataOptions.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

      public DeleteTrainingDataOptions build()
      Builds a DeleteTrainingDataOptions.
      Returns:
      the new DeleteTrainingDataOptions instance
    • environmentId

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

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

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