public static class SemanticRolesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
SemanticRolesOptions.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
SemanticRolesOptions |
build()
Builds a SemanticRolesOptions.
|
SemanticRolesOptions.Builder |
entities(java.lang.Boolean entities)
Set the entities.
|
SemanticRolesOptions.Builder |
keywords(java.lang.Boolean keywords)
Set the keywords.
|
SemanticRolesOptions.Builder |
limit(long limit)
Set the limit.
|
public SemanticRolesOptions.Builder()
public SemanticRolesOptions build()
public SemanticRolesOptions.Builder limit(long limit)
limit
- the limitpublic SemanticRolesOptions.Builder keywords(java.lang.Boolean keywords)
keywords
- the keywordspublic SemanticRolesOptions.Builder entities(java.lang.Boolean entities)
entities
- the entities