Interface SentimentConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>, SdkBuilder<SentimentConfiguration.Builder,SentimentConfiguration>, SdkPojo
Enclosing class:
SentimentConfiguration

public static interface SentimentConfiguration.Builder extends SdkPojo, CopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>
  • 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.