public class EmotionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Supported languages: English.
| Modifier and Type | Class and Description |
|---|---|
static class |
EmotionOptions.Builder
Builder.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
document |
protected java.util.List<java.lang.String> |
targets |
| Modifier | Constructor and Description |
|---|---|
protected |
EmotionOptions(EmotionOptions.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
document()
Gets the document.
|
EmotionOptions.Builder |
newBuilder()
New builder.
|
java.util.List<java.lang.String> |
targets()
Gets the targets.
|
protected java.lang.Boolean document
protected java.util.List<java.lang.String> targets
protected EmotionOptions(EmotionOptions.Builder builder)
public EmotionOptions.Builder newBuilder()
public java.lang.Boolean document()
Set this to `false` to hide document-level emotion results.
public java.util.List<java.lang.String> targets()
Emotion results will be returned for each target string that is found in the document.