Class EntitiesOptions.Builder

java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.EntitiesOptions.Builder
Enclosing class:
EntitiesOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public EntitiesOptions build()
      Builds a EntitiesOptions.
      Returns:
      the new EntitiesOptions instance
    • limit

      public EntitiesOptions.Builder limit​(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the EntitiesOptions builder
    • mentions

      public EntitiesOptions.Builder mentions​(Boolean mentions)
      Set the mentions.
      Parameters:
      mentions - the mentions
      Returns:
      the EntitiesOptions builder
    • model

      public EntitiesOptions.Builder model​(String model)
      Set the model.
      Parameters:
      model - the model
      Returns:
      the EntitiesOptions builder
    • sentiment

      public EntitiesOptions.Builder sentiment​(Boolean sentiment)
      Set the sentiment.
      Parameters:
      sentiment - the sentiment
      Returns:
      the EntitiesOptions builder
    • emotion

      public EntitiesOptions.Builder emotion​(Boolean emotion)
      Set the emotion.
      Parameters:
      emotion - the emotion
      Returns:
      the EntitiesOptions builder