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