public static interface MentionSentiment.Builder extends SdkPojo, CopyableBuilder<MentionSentiment.Builder,MentionSentiment>
| Modifier and Type | Method and Description |
|---|---|
MentionSentiment.Builder |
sentiment(SentimentType sentiment)
The sentiment of the mention.
|
MentionSentiment.Builder |
sentiment(String sentiment)
The sentiment of the mention.
|
default MentionSentiment.Builder |
sentimentScore(Consumer<SentimentScore.Builder> sentimentScore)
Sets the value of the SentimentScore property for this object.
|
MentionSentiment.Builder |
sentimentScore(SentimentScore sentimentScore)
Sets the value of the SentimentScore property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMentionSentiment.Builder sentiment(String sentiment)
The sentiment of the mention.
sentiment - The sentiment of the mention.SentimentType,
SentimentTypeMentionSentiment.Builder sentiment(SentimentType sentiment)
The sentiment of the mention.
sentiment - The sentiment of the mention.SentimentType,
SentimentTypeMentionSentiment.Builder sentimentScore(SentimentScore sentimentScore)
sentimentScore - The new value for the SentimentScore property for this object.default MentionSentiment.Builder sentimentScore(Consumer<SentimentScore.Builder> sentimentScore)
SentimentScore.Builder avoiding the need
to create one manually via SentimentScore.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sentimentScore(SentimentScore).
sentimentScore - a consumer that will call methods on SentimentScore.BuildersentimentScore(SentimentScore)Copyright © 2023. All rights reserved.