Interface SentimentConfiguration.Builder

  • Method Details

    • ruleName

      The name of the rule in the sentiment configuration.

      Parameters:
      ruleName - The name of the rule in the sentiment configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sentimentType

      SentimentConfiguration.Builder sentimentType(String sentimentType)

      The type of sentiment, POSITIVE, NEGATIVE, or NEUTRAL.

      Parameters:
      sentimentType - The type of sentiment, POSITIVE, NEGATIVE, or NEUTRAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sentimentType

      SentimentConfiguration.Builder sentimentType(SentimentType sentimentType)

      The type of sentiment, POSITIVE, NEGATIVE, or NEUTRAL.

      Parameters:
      sentimentType - The type of sentiment, POSITIVE, NEGATIVE, or NEUTRAL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timePeriod

      SentimentConfiguration.Builder timePeriod(Integer timePeriod)

      Specifies the analysis interval.

      Parameters:
      timePeriod - Specifies the analysis interval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.