public class EnrichmentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
EnrichmentOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
entityType()
Gets the entityType.
|
List<String> |
languages()
Gets the languages.
|
EnrichmentOptions.Builder |
newBuilder()
New builder.
|
String |
regularExpression()
Gets the regularExpression.
|
String |
resultField()
Gets the resultField.
|
public EnrichmentOptions.Builder newBuilder()
public List<String> languages()
An array of supported languages for this enrichment. Required when `type` is `dictionary`. Optional when `type` is `rule_based`. Not valid when creating any other type of enrichment.
public String entityType()
The name of the entity type. This value is used as the field name in the index. Required when `type` is `dictionary` or `regular_expression`. Not valid when creating any other type of enrichment.
public String regularExpression()
The regular expression to apply for this enrichment. Required when `type` is `regular_expression`. Not valid when creating any other type of enrichment.
public String resultField()
The name of the result document field that this enrichment creates. Required when `type` is `rule_based`. Not valid when creating any other type of enrichment.
Copyright © 2021 IBM Cloud. All rights reserved.