public static class EnrichmentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
EnrichmentOptions.Builder |
addLanguages(String languages)
Adds an languages to languages.
|
EnrichmentOptions |
build()
Builds a EnrichmentOptions.
|
EnrichmentOptions.Builder |
entityType(String entityType)
Set the entityType.
|
EnrichmentOptions.Builder |
languages(List<String> languages)
Set the languages.
|
EnrichmentOptions.Builder |
regularExpression(String regularExpression)
Set the regularExpression.
|
EnrichmentOptions.Builder |
resultField(String resultField)
Set the resultField.
|
public EnrichmentOptions build()
public EnrichmentOptions.Builder addLanguages(String languages)
languages
- the new languagespublic EnrichmentOptions.Builder languages(List<String> languages)
languages
- the languagespublic EnrichmentOptions.Builder entityType(String entityType)
entityType
- the entityTypepublic EnrichmentOptions.Builder regularExpression(String regularExpression)
regularExpression
- the regularExpressionpublic EnrichmentOptions.Builder resultField(String resultField)
resultField
- the resultFieldCopyright © 2021 IBM Cloud. All rights reserved.