@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum Risk extends Enum<Risk>
The risk for a given workload, lens review, pillar, or question.
| Enum Constant and Description |
|---|
HIGH |
MEDIUM |
NONE |
NOT_APPLICABLE |
UNANSWERED |
| Modifier and Type | Method and Description |
|---|---|
static Risk |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static Risk |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Risk[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Risk UNANSWERED
public static final Risk HIGH
public static final Risk MEDIUM
public static final Risk NONE
public static final Risk NOT_APPLICABLE
public static Risk[] values()
for (Risk c : Risk.values()) System.out.println(c);
public static Risk 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 Risk fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.