Interface SentimentResult.Builder
- Enclosing interface:
SentimentResult
public static interface SentimentResult.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesee gettersetSentiment
(Sentiment sentiment) see getter
-
Method Details
-
setSentiment
see getter- Parameters:
sentiment
- see getter- Returns:
- Current builder
- See Also:
-
setScore
see getter- Parameters:
score
- see getter- Returns:
- Current builder
- See Also:
-
build
SentimentResult build()Create instance- Returns:
- The instance build with current builder values
-