public SentimentConfiguration withSentimentType(String sentimentType) {
        setSentimentType(sentimentType);
        return this;
    }
<p>
The type of sentiment, <code>POSITIVE</code>, <code>NEGATIVE</code>, or <code>NEUTRAL</code>.
</p>

@param sentimentType
       The type of sentiment, <code>POSITIVE</code>, <code>NEGATIVE</code>, or <code>NEUTRAL</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see SentimentType
aws-java-sdk-chimesdkmediapipelines/src/main/java/com/amazonaws/services/chimesdkmediapipelines/model/SentimentConfiguration.java