public enum ErrorCode extends Enum<ErrorCode>
| Enum Constant and Description | 
|---|
APPLICATION_MISSING  | 
DEPLOYMENT_GROUP_MISSING  | 
HEALTH_CONSTRAINTS  | 
HEALTH_CONSTRAINTS_INVALID  | 
IAM_ROLE_MISSING  | 
IAM_ROLE_PERMISSIONS  | 
INTERNAL_ERROR  | 
NO_EC2_SUBSCRIPTION  | 
NO_INSTANCES  | 
OVER_MAX_INSTANCES  | 
REVISION_MISSING  | 
THROTTLED  | 
TIMEOUT  | 
| Modifier and Type | Method and Description | 
|---|---|
static ErrorCode | 
fromValue(String value)
Use this in place of valueOf. 
 | 
String | 
toString()  | 
static ErrorCode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ErrorCode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ErrorCode DEPLOYMENT_GROUP_MISSING
public static final ErrorCode APPLICATION_MISSING
public static final ErrorCode REVISION_MISSING
public static final ErrorCode IAM_ROLE_MISSING
public static final ErrorCode IAM_ROLE_PERMISSIONS
public static final ErrorCode NO_EC2_SUBSCRIPTION
public static final ErrorCode OVER_MAX_INSTANCES
public static final ErrorCode NO_INSTANCES
public static final ErrorCode TIMEOUT
public static final ErrorCode HEALTH_CONSTRAINTS_INVALID
public static final ErrorCode HEALTH_CONSTRAINTS
public static final ErrorCode INTERNAL_ERROR
public static final ErrorCode THROTTLED
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 nullCopyright © 2015. All rights reserved.