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