public static class PiiEntityDocumentResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PiiEntityDocumentResult |
build() |
PiiEntityDocumentResult.Builder |
copy(PiiEntityDocumentResult model) |
PiiEntityDocumentResult.Builder |
entities(List<PiiEntity> entities)
List of batch detect personal identification.
|
PiiEntityDocumentResult.Builder |
key(String key)
Document unique identifier defined by the user.
|
PiiEntityDocumentResult.Builder |
languageCode(String languageCode)
Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR :
Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi :
Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja :
Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN :
Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr :
Turkish - el : Greek - he : Hebrew
|
PiiEntityDocumentResult.Builder |
maskedText(String maskedText)
Masked text per given mask mode.
|
public PiiEntityDocumentResult.Builder key(String key)
Document unique identifier defined by the user.
key
- the value to setpublic PiiEntityDocumentResult.Builder entities(List<PiiEntity> entities)
List of batch detect personal identification.
entities
- the value to setpublic PiiEntityDocumentResult.Builder maskedText(String maskedText)
Masked text per given mask mode.
maskedText
- the value to setpublic PiiEntityDocumentResult.Builder languageCode(String languageCode)
Language code supported - auto : Automatically detect language - ar : Arabic - pt-BR : Brazilian Portuguese - cs : Czech - da : Danish - nl : Dutch - en : English - fi : Finnish - fr : French - fr-CA : Canadian French - de : German - it : Italian - ja : Japanese - ko : Korean - no : Norwegian - pl : Polish - ro : Romanian - zh-CN : Simplified Chinese - es : Spanish - sv : Swedish - zh-TW : Traditional Chinese - tr : Turkish - el : Greek - he : Hebrew
languageCode
- the value to setpublic PiiEntityDocumentResult build()
public PiiEntityDocumentResult.Builder copy(PiiEntityDocumentResult model)
Copyright © 2016–2024. All rights reserved.