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