public static class NluEnrichmentKeywords.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
NluEnrichmentKeywords |
build()
Builds a NluEnrichmentKeywords.
|
NluEnrichmentKeywords.Builder |
emotion(Boolean emotion)
Set the emotion.
|
NluEnrichmentKeywords.Builder |
limit(long limit)
Set the limit.
|
NluEnrichmentKeywords.Builder |
sentiment(Boolean sentiment)
Set the sentiment.
|
public NluEnrichmentKeywords build()
public NluEnrichmentKeywords.Builder sentiment(Boolean sentiment)
sentiment
- the sentimentpublic NluEnrichmentKeywords.Builder emotion(Boolean emotion)
emotion
- the emotionpublic NluEnrichmentKeywords.Builder limit(long limit)
limit
- the limitCopyright © 2022 IBM Cloud. All rights reserved.