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