Enum StartTimerFailedCause
- java.lang.Object
-
- java.lang.Enum<StartTimerFailedCause>
-
- com.amazonaws.services.simpleworkflow.model.StartTimerFailedCause
-
- All Implemented Interfaces:
Serializable
,Comparable<StartTimerFailedCause>
public enum StartTimerFailedCause extends Enum<StartTimerFailedCause>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPEN_TIMERS_LIMIT_EXCEEDED
OPERATION_NOT_PERMITTED
TIMER_CREATION_RATE_EXCEEDED
TIMER_ID_ALREADY_IN_USE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartTimerFailedCause
fromValue(String value)
Use this in place of valueOf.String
toString()
static StartTimerFailedCause
valueOf(String name)
Returns the enum constant of this type with the specified name.static StartTimerFailedCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMER_ID_ALREADY_IN_USE
public static final StartTimerFailedCause TIMER_ID_ALREADY_IN_USE
-
OPEN_TIMERS_LIMIT_EXCEEDED
public static final StartTimerFailedCause OPEN_TIMERS_LIMIT_EXCEEDED
-
TIMER_CREATION_RATE_EXCEEDED
public static final StartTimerFailedCause TIMER_CREATION_RATE_EXCEEDED
-
OPERATION_NOT_PERMITTED
public static final StartTimerFailedCause OPERATION_NOT_PERMITTED
-
-
Method Detail
-
values
public static StartTimerFailedCause[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StartTimerFailedCause c : StartTimerFailedCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StartTimerFailedCause valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<StartTimerFailedCause>
-
fromValue
public static StartTimerFailedCause fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- StartTimerFailedCause corresponding to the value
-
-