Class NluEnrichmentKeywords.Builder

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

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

    • Builder

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

    • build

      public NluEnrichmentKeywords build()
      Builds a NluEnrichmentKeywords.
      Returns:
      the new NluEnrichmentKeywords instance
    • sentiment

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

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

      public NluEnrichmentKeywords.Builder limit​(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the NluEnrichmentKeywords builder