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