Class EntitiesOptions.Builder
java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.EntitiesOptions.Builder
- Enclosing class:
- EntitiesOptions
public static class EntitiesOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a EntitiesOptions.- Returns:
- the new EntitiesOptions instance
-
limit
Set the limit.- Parameters:
limit
- the limit- Returns:
- the EntitiesOptions builder
-
mentions
Set the mentions.- Parameters:
mentions
- the mentions- Returns:
- the EntitiesOptions builder
-
model
Set the model.- Parameters:
model
- the model- Returns:
- the EntitiesOptions builder
-
sentiment
Set the sentiment.- Parameters:
sentiment
- the sentiment- Returns:
- the EntitiesOptions builder
-
emotion
Set the emotion.- Parameters:
emotion
- the emotion- Returns:
- the EntitiesOptions builder
-