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