public static class EmotionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
EmotionOptions.Builder |
addTargets(String targets)
Adds a new element to targets.
|
EmotionOptions |
build()
Builds a EmotionOptions.
|
EmotionOptions.Builder |
document(Boolean document)
Set the document.
|
EmotionOptions.Builder |
targets(List<String> targets)
Set the targets.
|
public EmotionOptions build()
public EmotionOptions.Builder addTargets(String targets)
targets
- the new element to be addedpublic EmotionOptions.Builder document(Boolean document)
document
- the documentpublic EmotionOptions.Builder targets(List<String> targets)
targets
- the targetsCopyright © 2024 IBM Cloud. All rights reserved.