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 EntitiesOptionsbuild()Builds a EntitiesOptions.EntitiesOptions.Builderemotion(Boolean emotion)Set the emotion.EntitiesOptions.Builderlimit(long limit)Set the limit.EntitiesOptions.Buildermentions(Boolean mentions)Set the mentions.EntitiesOptions.Buildermodel(String model)Set the model.EntitiesOptions.Buildersentiment(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
-