public static class ConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConfigurationDetails |
build() |
ConfigurationDetails.Builder |
configurationMap(Map<String,String> configurationMap)
model configuration details For PII : ConfigurationDetails will be PiiEntityMasking can
be anyone of the following ex.{ “mode” : “MASK”,“maskingCharacter” :
“&”,“leaveCharactersUnmasked”: 3,“isUnmaskedFromEnd” : true } { “mode” :
“MASK”,“replaceWith” : “&” } { “mode” : “REPLACE” } For language translation : {
“languageCodes” : [“cs”, “ar”]} Language code supported Automatically detect language -
auto Arabic - ar Brazilian Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English -
en Finnish - fi French - fr Canadian French - fr-CA German - de Italian - it Japanese -
ja Korean - ko Norwegian - no Polish - pl Romanian - ro Simplified Chinese - zh-CN
Spanish - es Swedish - sv Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he
|
ConfigurationDetails.Builder |
copy(ConfigurationDetails model) |
public ConfigurationDetails.Builder configurationMap(Map<String,String> configurationMap)
model configuration details For PII : ConfigurationDetails will be PiiEntityMasking can be anyone of the following ex.{ “mode” : “MASK”,“maskingCharacter” : “&”,“leaveCharactersUnmasked”: 3,“isUnmaskedFromEnd” : true } { “mode” : “MASK”,“replaceWith” : “&” } { “mode” : “REPLACE” } For language translation : { “languageCodes” : [“cs”, “ar”]} Language code supported Automatically detect language - auto Arabic - ar Brazilian Portuguese - pt-BR Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr Canadian French - fr-CA German - de Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Romanian - ro Simplified Chinese - zh-CN Spanish - es Swedish - sv Traditional Chinese - zh-TW Turkish - tr Greek - el Hebrew - he
configurationMap
- the value to setpublic ConfigurationDetails build()
public ConfigurationDetails.Builder copy(ConfigurationDetails model)
Copyright © 2016–2024. All rights reserved.