public void setSentiments(java.util.Collection<String> sentiments) {
        if (sentiments == null) {
            this.sentiments = null;
            return;
        }

        this.sentiments = new java.util.ArrayList<String>(sentiments);
    }
<p>
Specify the sentiments that you want to flag.
</p>

@param sentiments
       Specify the sentiments that you want to flag.
@see SentimentValue
aws-java-sdk-transcribe/src/main/java/com/amazonaws/services/transcribe/model/SentimentFilter.java