public static class NluEnrichmentEmotion.Builder
extends java.lang.Object
Constructor and Description |
---|
NluEnrichmentEmotion.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
NluEnrichmentEmotion.Builder |
addTarget(java.lang.String target)
Adds a target to targets.
|
NluEnrichmentEmotion |
build()
Builds a NluEnrichmentEmotion.
|
NluEnrichmentEmotion.Builder |
document(java.lang.Boolean document)
Set the document.
|
NluEnrichmentEmotion.Builder |
targets(java.util.List<java.lang.String> targets)
Set the targets.
|
public NluEnrichmentEmotion.Builder()
public NluEnrichmentEmotion build()
public NluEnrichmentEmotion.Builder addTarget(java.lang.String target)
target
- the new targetpublic NluEnrichmentEmotion.Builder document(java.lang.Boolean document)
document
- the documentpublic NluEnrichmentEmotion.Builder targets(java.util.List<java.lang.String> targets)
targets
- the targets