public static class SemanticRolesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and 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.
|
public SemanticRolesOptions build()
public SemanticRolesOptions.Builder limit(long limit)
limit
- the limitpublic SemanticRolesOptions.Builder keywords(Boolean keywords)
keywords
- the keywordspublic SemanticRolesOptions.Builder entities(Boolean entities)
entities
- the entitiesCopyright © 2022 IBM Cloud. All rights reserved.