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 an target 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 targetpublic NluEnrichmentEmotion.Builder document(Boolean document)
document
- the documentpublic NluEnrichmentEmotion.Builder targets(List<String> targets)
targets
- the targetsCopyright © 2022 IBM Cloud. All rights reserved.