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