public static class EntitiesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
EntitiesOptions |
build()
Builds a EntitiesOptions.
|
EntitiesOptions.Builder |
emotion(java.lang.Boolean emotion)
Set the emotion.
|
EntitiesOptions.Builder |
limit(long limit)
Set the limit.
|
EntitiesOptions.Builder |
model(java.lang.String model)
Set the model.
|
EntitiesOptions.Builder |
sentiment(java.lang.Boolean sentiment)
Set the sentiment.
|
public EntitiesOptions build()
public EntitiesOptions.Builder limit(long limit)
limit
- the limitpublic EntitiesOptions.Builder model(java.lang.String model)
model
- the modelpublic EntitiesOptions.Builder sentiment(java.lang.Boolean sentiment)
sentiment
- the sentimentpublic EntitiesOptions.Builder emotion(java.lang.Boolean emotion)
emotion
- the emotion