public static class EnrichmentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
EnrichmentOptions.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
EnrichmentOptions.Builder |
addLanguages(java.lang.String languages)
Adds an languages to languages.
|
EnrichmentOptions |
build()
Builds a EnrichmentOptions.
|
EnrichmentOptions.Builder |
entityType(java.lang.String entityType)
Set the entityType.
|
EnrichmentOptions.Builder |
languages(java.util.List<java.lang.String> languages)
Set the languages.
|
EnrichmentOptions.Builder |
regularExpression(java.lang.String regularExpression)
Set the regularExpression.
|
EnrichmentOptions.Builder |
resultField(java.lang.String resultField)
Set the resultField.
|
public EnrichmentOptions.Builder()
public EnrichmentOptions build()
public EnrichmentOptions.Builder addLanguages(java.lang.String languages)
languages
- the new languagespublic EnrichmentOptions.Builder languages(java.util.List<java.lang.String> languages)
languages
- the languagespublic EnrichmentOptions.Builder entityType(java.lang.String entityType)
entityType
- the entityTypepublic EnrichmentOptions.Builder regularExpression(java.lang.String regularExpression)
regularExpression
- the regularExpressionpublic EnrichmentOptions.Builder resultField(java.lang.String resultField)
resultField
- the resultField