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