@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum MalwareType extends Enum<MalwareType>
Enum Constant and Description |
---|
ADWARE |
BLENDED_THREAT |
BOTNET_AGENT |
COIN_MINER |
EXPLOIT_KIT |
KEYLOGGER |
MACRO |
POTENTIALLY_UNWANTED |
RANSOMWARE |
REMOTE_ACCESS |
ROOTKIT |
SPYWARE |
TROJAN |
VIRUS |
WORM |
Modifier and Type | Method and Description |
---|---|
static MalwareType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static MalwareType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MalwareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MalwareType ADWARE
public static final MalwareType BLENDED_THREAT
public static final MalwareType BOTNET_AGENT
public static final MalwareType COIN_MINER
public static final MalwareType EXPLOIT_KIT
public static final MalwareType KEYLOGGER
public static final MalwareType MACRO
public static final MalwareType POTENTIALLY_UNWANTED
public static final MalwareType SPYWARE
public static final MalwareType RANSOMWARE
public static final MalwareType REMOTE_ACCESS
public static final MalwareType ROOTKIT
public static final MalwareType TROJAN
public static final MalwareType VIRUS
public static final MalwareType WORM
public static MalwareType[] values()
for (MalwareType c : MalwareType.values()) System.out.println(c);
public static MalwareType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<MalwareType>
public static MalwareType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.