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