public enum SecurityAlertPolicyState extends Enum<SecurityAlertPolicyState>
Enum Constant and Description |
---|
DISABLED
Enum value Disabled.
|
ENABLED
Enum value Enabled.
|
NEW
Enum value New.
|
Modifier and Type | Method and Description |
---|---|
static SecurityAlertPolicyState |
fromString(String value)
Parses a serialized value to a SecurityAlertPolicyState instance.
|
String |
toString() |
static SecurityAlertPolicyState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityAlertPolicyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityAlertPolicyState NEW
public static final SecurityAlertPolicyState ENABLED
public static final SecurityAlertPolicyState DISABLED
public static SecurityAlertPolicyState[] values()
for (SecurityAlertPolicyState c : SecurityAlertPolicyState.values()) System.out.println(c);
public static SecurityAlertPolicyState 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 static SecurityAlertPolicyState fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<SecurityAlertPolicyState>
Copyright © 2019. All rights reserved.