PIIDetectionSkillMaskingMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. indexes. models. PIIDetectionSkillMaskingMode
- com.
- com.
public final class PIIDetectionSkillMaskingMode
extends ExpandableStringEnum<PIIDetectionSkillMaskingMode>
A string indicating what maskingMode to use to mask the personal information detected in the input text.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
PIIDetection |
NONE
No masking occurs and the masked |
|
static final
PIIDetection |
REPLACE
Replaces the detected entities with the character given in the masking |
Constructor Summary
| Constructor | Description |
|---|---|
| PIIDetectionSkillMaskingMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of PIIDetection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
PIIDetection |
fromString(String name)
Creates or finds a PIIDetection |
|
static
Collection<PIIDetection |
values()
Gets known PIIDetection |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final PIIDetectionSkillMaskingMode NONE
No masking occurs and the maskedText output will not be returned.
REPLACE
public static final PIIDetectionSkillMaskingMode REPLACE
Replaces the detected entities with the character given in the maskingCharacter parameter. The character will be repeated to the length of the detected entity so that the offsets will correctly correspond to both the input text as well as the output maskedText.
Constructor Details
PIIDetectionSkillMaskingMode
@Deprecated
public PIIDetectionSkillMaskingMode()
Deprecated
Creates a new instance of PIIDetectionSkillMaskingMode value.
Method Details
fromString
public static PIIDetectionSkillMaskingMode fromString(String name)
Creates or finds a PIIDetectionSkillMaskingMode from its string representation.
Parameters:
Returns:
values
public static Collection<PIIDetectionSkillMaskingMode> values()
Gets known PIIDetectionSkillMaskingMode values.
Returns: