public static class PiiEntityReplace.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PiiEntityReplace |
build() |
PiiEntityReplace.Builder |
copy(PiiEntityReplace model) |
PiiEntityReplace.Builder |
exclude(List<String> exclude) |
PiiEntityReplace.Builder |
replaceWith(String replaceWith)
Replace entities with given sequence of characters.
|
PiiEntityReplace.Builder |
shouldDetect(Boolean shouldDetect) |
public PiiEntityReplace.Builder exclude(List<String> exclude)
public PiiEntityReplace.Builder shouldDetect(Boolean shouldDetect)
public PiiEntityReplace.Builder replaceWith(String replaceWith)
Replace entities with given sequence of characters. By default PII entity will be replaced with <ENTITY_TYPE>.
replaceWith
- the value to setpublic PiiEntityReplace build()
public PiiEntityReplace.Builder copy(PiiEntityReplace model)
Copyright © 2016–2024. All rights reserved.