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
Pii |
NONE
No masking occurs and the masked |
|
static final
Pii |
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 Pii |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pii |
fromString(String name)
Creates or finds a Pii |
|
static
Collection<Pii |
values()
Gets known Pii |
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: