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