public static class SentimentOptions.Builder extends Object
| Constructor and Description | 
|---|
Builder()
Instantiates a new builder. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SentimentOptions.Builder | 
addTargets(String targets)
Adds an targets to targets. 
 | 
SentimentOptions | 
build()
Builds a SentimentOptions. 
 | 
SentimentOptions.Builder | 
document(Boolean document)
Set the document. 
 | 
SentimentOptions.Builder | 
model(String model)
Set the model. 
 | 
SentimentOptions.Builder | 
targets(List<String> targets)
Set the targets. 
 | 
public SentimentOptions build()
public SentimentOptions.Builder addTargets(String targets)
targets - the new targetspublic SentimentOptions.Builder document(Boolean document)
document - the documentpublic SentimentOptions.Builder targets(List<String> targets)
targets - the targetspublic SentimentOptions.Builder model(String model)
model - the modelCopyright © 2021 IBM Cloud. All rights reserved.