public static class EnrichmentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
public EnrichmentOptions build()
public EnrichmentOptions.Builder addLanguages(String languages)
languages
- the new element to be addedpublic 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 resultFieldpublic EnrichmentOptions.Builder classifierId(String classifierId)
classifierId
- the classifierIdpublic EnrichmentOptions.Builder modelId(String modelId)
modelId
- the modelIdpublic EnrichmentOptions.Builder confidenceThreshold(Double confidenceThreshold)
confidenceThreshold
- the confidenceThresholdpublic EnrichmentOptions.Builder topK(long topK)
topK
- the topKpublic EnrichmentOptions.Builder url(String url)
url
- the urlpublic EnrichmentOptions.Builder version(String version)
version
- the versionpublic EnrichmentOptions.Builder secret(String secret)
secret
- the secretpublic EnrichmentOptions.Builder headers(WebhookHeader headers)
headers
- the headerspublic EnrichmentOptions.Builder locationEncoding(String locationEncoding)
locationEncoding
- the locationEncodingCopyright © 2024 IBM Cloud. All rights reserved.