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 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding PiiDetectionSkillMaskingMode.
    • values

      public static Collection<PiiDetectionSkillMaskingMode> values()
      Gets known PiiDetectionSkillMaskingMode values.
      Returns:
      known PiiDetectionSkillMaskingMode values.