Package com.microsoft.graph.models
Enum Class DefenderThreatAction
- All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum,Serializable,Comparable<DefenderThreatAction>,Constable
@Generated("com.microsoft.kiota")
public enum DefenderThreatAction
extends Enum<DefenderThreatAction>
implements com.microsoft.kiota.serialization.ValuedEnum
Defenders default action to take on detected Malware threats.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow the detected threat.Block the detected threat.Clean the detected threat.Apply action based on the update definition.Quarantine the detected threat.Remove the detected threat.Allow the user to determine the action to take with the detected threat. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DefenderThreatActiongetValue()static DefenderThreatActionReturns the enum constant of this class with the specified name.static DefenderThreatAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DeviceDefault
Apply action based on the update definition. -
Clean
Clean the detected threat. -
Quarantine
Quarantine the detected threat. -
Remove
Remove the detected threat. -
Allow
Allow the detected threat. -
UserDefined
Allow the user to determine the action to take with the detected threat. -
Block
Block the detected threat.
-
-
Field Details
-
value
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
- Specified by:
getValuein interfacecom.microsoft.kiota.serialization.ValuedEnum
-
forValue
-