Enum Class PIIType

java.lang.Object
java.lang.Enum<PIIType>
com.alibaba.cloud.ai.graph.agent.hook.pii.PIIType
All Implemented Interfaces:
Serializable, Comparable<PIIType>, Constable

public enum PIIType extends Enum<PIIType>
Types of Personally Identifiable Information that can be detected.
  • Enum Constant Details

    • EMAIL

      public static final PIIType EMAIL
    • CREDIT_CARD

      public static final PIIType CREDIT_CARD
    • IP

      public static final PIIType IP
    • MAC_ADDRESS

      public static final PIIType MAC_ADDRESS
    • URL

      public static final PIIType URL
    • CUSTOM

      public static final PIIType CUSTOM
  • Method Details

    • values

      public static PIIType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PIIType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null