public static class SentimentDocumentResult.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SentimentDocumentResult.Builder |
aspects(List<SentimentAspect> aspects) |
SentimentDocumentResult |
build() |
SentimentDocumentResult.Builder |
copy(SentimentDocumentResult o) |
SentimentDocumentResult.Builder |
documentScores(Map<String,Double> documentScores) |
SentimentDocumentResult.Builder |
documentSentiment(String documentSentiment) |
SentimentDocumentResult.Builder |
key(String key) |
SentimentDocumentResult.Builder |
languageCode(String languageCode) |
SentimentDocumentResult.Builder |
sentences(List<SentimentSentence> sentences) |
String |
toString() |
public SentimentDocumentResult.Builder key(String key)
public SentimentDocumentResult.Builder documentSentiment(String documentSentiment)
public SentimentDocumentResult.Builder documentScores(Map<String,Double> documentScores)
public SentimentDocumentResult.Builder aspects(List<SentimentAspect> aspects)
public SentimentDocumentResult.Builder sentences(List<SentimentSentence> sentences)
public SentimentDocumentResult.Builder languageCode(String languageCode)
public SentimentDocumentResult build()
public SentimentDocumentResult.Builder copy(SentimentDocumentResult o)
Copyright © 2016–2022. All rights reserved.