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