@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum MessageUsefulnessReason extends Enum<MessageUsefulnessReason>
Enum Constant and Description |
---|
COMPLETE |
FACTUALLY_CORRECT |
HARMFUL_OR_UNSAFE |
HELPFUL |
INCORRECT_OR_MISSING_SOURCES |
NOT_FACTUALLY_CORRECT |
NOT_HELPFUL |
RELEVANT_SOURCES |
Modifier and Type | Method and Description |
---|---|
static MessageUsefulnessReason |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static MessageUsefulnessReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageUsefulnessReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageUsefulnessReason NOT_FACTUALLY_CORRECT
public static final MessageUsefulnessReason HARMFUL_OR_UNSAFE
public static final MessageUsefulnessReason INCORRECT_OR_MISSING_SOURCES
public static final MessageUsefulnessReason NOT_HELPFUL
public static final MessageUsefulnessReason FACTUALLY_CORRECT
public static final MessageUsefulnessReason COMPLETE
public static final MessageUsefulnessReason RELEVANT_SOURCES
public static final MessageUsefulnessReason HELPFUL
public static MessageUsefulnessReason[] values()
for (MessageUsefulnessReason c : MessageUsefulnessReason.values()) System.out.println(c);
public static MessageUsefulnessReason 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<MessageUsefulnessReason>
public static MessageUsefulnessReason fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.