public static class NluEnrichmentEntities.Builder
extends java.lang.Object
Constructor and Description |
---|
NluEnrichmentEntities.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 |
sentenceLocation(java.lang.Boolean sentenceLocation)
Set the sentenceLocation.
|
NluEnrichmentEntities.Builder |
sentiment(java.lang.Boolean sentiment)
Set the sentiment.
|
public NluEnrichmentEntities.Builder()
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 sentenceLocation(java.lang.Boolean sentenceLocation)
sentenceLocation
- the sentenceLocationpublic NluEnrichmentEntities.Builder model(java.lang.String model)
model
- the model