Interface MachineLearningSentimentResult.Builder
- Enclosing interface:
MachineLearningSentimentResult
public static interface MachineLearningSentimentResult.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetMessage
(String message) see gettersetResults
(List<SentimentResult> results) see gettersee gettersetSentiment
(Sentiment sentiment) see getter
-
Method Details
-
setMessage
see getter- Parameters:
message
- see getter- Returns:
- Current builder
- See Also:
-
setResults
see getter- Parameters:
results
- see getter- Returns:
- Current builder
- See Also:
-
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
MachineLearningSentimentResult build()Create instance- Returns:
- The instance build with current builder values
-