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