public static class NluEnrichmentEntities.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
NluEnrichmentEntities |
build()
Builds a NluEnrichmentEntities.
|
NluEnrichmentEntities.Builder |
emotion(java.lang.Boolean emotion)
Set the emotion.
|
NluEnrichmentEntities.Builder |
limit(long limit)
Set the limit.
|
NluEnrichmentEntities.Builder |
mentions(java.lang.Boolean mentions)
Set the mentions.
|
NluEnrichmentEntities.Builder |
mentionTypes(java.lang.Boolean mentionTypes)
Set the mentionTypes.
|
NluEnrichmentEntities.Builder |
model(java.lang.String model)
Set the model.
|
NluEnrichmentEntities.Builder |
sentenceLocations(java.lang.Boolean sentenceLocations)
Set the sentenceLocations.
|
NluEnrichmentEntities.Builder |
sentiment(java.lang.Boolean sentiment)
Set the sentiment.
|
public NluEnrichmentEntities build()
public NluEnrichmentEntities.Builder sentiment(java.lang.Boolean sentiment)
sentiment
- the sentimentpublic NluEnrichmentEntities.Builder emotion(java.lang.Boolean emotion)
emotion
- the emotionpublic NluEnrichmentEntities.Builder limit(long limit)
limit
- the limitpublic NluEnrichmentEntities.Builder mentions(java.lang.Boolean mentions)
mentions
- the mentionspublic NluEnrichmentEntities.Builder mentionTypes(java.lang.Boolean mentionTypes)
mentionTypes
- the mentionTypespublic NluEnrichmentEntities.Builder sentenceLocations(java.lang.Boolean sentenceLocations)
sentenceLocations
- the sentenceLocationspublic NluEnrichmentEntities.Builder model(java.lang.String model)
model
- the model