Class PiiDetectionSkillMaskingMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PiiDetectionSkillMaskingMode>
com.azure.search.documents.indexes.models.PiiDetectionSkillMaskingMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class PiiDetectionSkillMaskingMode
extends com.azure.core.util.ExpandableStringEnum<PiiDetectionSkillMaskingMode>
A string indicating what maskingMode to use to mask the personal information detected in the input text.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PiiDetectionSkillMaskingModeNo masking occurs and the maskedText output will not be returned.static final PiiDetectionSkillMaskingModeReplaces the detected entities with the character given in the maskingCharacter parameter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PiiDetectionSkillMaskingModefromString(String name) Creates or finds a PiiDetectionSkillMaskingMode from its string representation.values()Gets known PiiDetectionSkillMaskingMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
No masking occurs and the maskedText output will not be returned. -
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.Use thefromString(String)factory method.Creates a new instance of PiiDetectionSkillMaskingMode value.
-
-
Method Details
-
fromString
Creates or finds a PiiDetectionSkillMaskingMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PiiDetectionSkillMaskingMode.
-
values
Gets known PiiDetectionSkillMaskingMode values.- Returns:
- known PiiDetectionSkillMaskingMode values.
-
fromString(String)factory method.