Enum Class DeviceThreatProtectionLevel

java.lang.Object
java.lang.Enum<DeviceThreatProtectionLevel>
com.microsoft.graph.models.DeviceThreatProtectionLevel
All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum, Serializable, Comparable<DeviceThreatProtectionLevel>, Constable

@Generated("com.microsoft.kiota") public enum DeviceThreatProtectionLevel extends Enum<DeviceThreatProtectionLevel> implements com.microsoft.kiota.serialization.ValuedEnum
Device threat protection levels for the Device Threat Protection API.
  • Enum Constant Details

    • Unavailable

      public static final DeviceThreatProtectionLevel Unavailable
      Default Value. Do not use.
    • Secured

      public static final DeviceThreatProtectionLevel Secured
      Device Threat Level requirement: Secured. This is the most secure level, and represents that no threats were found on the device.
    • Low

      public static final DeviceThreatProtectionLevel Low
      Device Threat Protection level requirement: Low. Low represents a severity of threat that poses minimal risk to the device or device data.
    • Medium

      public static final DeviceThreatProtectionLevel Medium
      Device Threat Protection level requirement: Medium. Medium represents a severity of threat that poses moderate risk to the device or device data.
    • High

      public static final DeviceThreatProtectionLevel High
      Device Threat Protection level requirement: High. High represents a severity of threat that poses severe risk to the device or device data.
    • NotSet

      public static final DeviceThreatProtectionLevel NotSet
      Device Threat Protection level requirement: Not Set. Not set represents that there is no requirement for the device to meet a Threat Protection level.
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static DeviceThreatProtectionLevel[] 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 DeviceThreatProtectionLevel 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
    • getValue

      @Nonnull public String getValue()
      Specified by:
      getValue in interface com.microsoft.kiota.serialization.ValuedEnum
    • forValue

      @Nullable public static DeviceThreatProtectionLevel forValue(@Nonnull String searchValue)