Interface SentimentConfiguration.Builder

    • Method Detail

      • ruleName

        SentimentConfiguration.Builder ruleName​(String 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, SentimentType
      • 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:
        SentimentType, SentimentType
      • 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.