Package com.oracle.bmc.usageapi.model
Enum DynamicDateRange.DynamicDateRangeType
- java.lang.Object
-
- java.lang.Enum<DynamicDateRange.DynamicDateRangeType>
-
- com.oracle.bmc.usageapi.model.DynamicDateRange.DynamicDateRangeType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DynamicDateRange.DynamicDateRangeType>
- Enclosing class:
- DynamicDateRange
public static enum DynamicDateRange.DynamicDateRangeType extends Enum<DynamicDateRange.DynamicDateRangeType> implements BmcEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
Last10Days
Last2CalendarMonths
Last30Days
Last3CalendarMonths
Last6CalendarMonths
Last7Days
LastCalendarMonth
LastCalendarWeek
LastYear
MonthToDate
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.YearTodate
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DynamicDateRange.DynamicDateRangeType
create(String key)
String
getValue()
static DynamicDateRange.DynamicDateRangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DynamicDateRange.DynamicDateRangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Last7Days
public static final DynamicDateRange.DynamicDateRangeType Last7Days
-
Last10Days
public static final DynamicDateRange.DynamicDateRangeType Last10Days
-
LastCalendarWeek
public static final DynamicDateRange.DynamicDateRangeType LastCalendarWeek
-
LastCalendarMonth
public static final DynamicDateRange.DynamicDateRangeType LastCalendarMonth
-
Last2CalendarMonths
public static final DynamicDateRange.DynamicDateRangeType Last2CalendarMonths
-
Last3CalendarMonths
public static final DynamicDateRange.DynamicDateRangeType Last3CalendarMonths
-
Last6CalendarMonths
public static final DynamicDateRange.DynamicDateRangeType Last6CalendarMonths
-
Last30Days
public static final DynamicDateRange.DynamicDateRangeType Last30Days
-
MonthToDate
public static final DynamicDateRange.DynamicDateRangeType MonthToDate
-
LastYear
public static final DynamicDateRange.DynamicDateRangeType LastYear
-
YearTodate
public static final DynamicDateRange.DynamicDateRangeType YearTodate
-
All
public static final DynamicDateRange.DynamicDateRangeType All
-
UnknownEnumValue
public static final DynamicDateRange.DynamicDateRangeType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DynamicDateRange.DynamicDateRangeType[] 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 (DynamicDateRange.DynamicDateRangeType c : DynamicDateRange.DynamicDateRangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DynamicDateRange.DynamicDateRangeType 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
-
create
public static DynamicDateRange.DynamicDateRangeType create(String key)
-
-