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