public static class SentimentOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
SentimentOptions |
build()
Builds the SentimentOptions.
|
SentimentOptions.Builder |
document(java.lang.Boolean document)
Add the document.
|
SentimentOptions.Builder |
targets(java.util.List<java.lang.String> targets)
Add the targets.
|
public SentimentOptions build()
public SentimentOptions.Builder document(java.lang.Boolean document)
document - the documentpublic SentimentOptions.Builder targets(java.util.List<java.lang.String> targets)
targets - the targets