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