@Generated(value="software.amazon.awssdk:codegen") 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 |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static Risk |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<Risk> |
knownValues()
|
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 final Risk UNKNOWN_TO_SDK_VERSION
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 valueCopyright © 2023. All rights reserved.