Class CategoriesOptions.Builder
java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.CategoriesOptions.Builder
- Enclosing class:
- CategoriesOptions
public static class CategoriesOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. -
Method Summary
Modifier and Type Method Description CategoriesOptionsbuild()Builds a CategoriesOptions.CategoriesOptions.Builderexplanation(Boolean explanation)Set the explanation.CategoriesOptions.Builderlimit(long limit)Set the limit.CategoriesOptions.Buildermodel(String model)Set the model.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a CategoriesOptions.- Returns:
- the new CategoriesOptions instance
-
explanation
Set the explanation.- Parameters:
explanation- the explanation- Returns:
- the CategoriesOptions builder
-
limit
Set the limit.- Parameters:
limit- the limit- Returns:
- the CategoriesOptions builder
-
model
Set the model.- Parameters:
model- the model- Returns:
- the CategoriesOptions builder
-