Enum ReportDetails.Granularity
- java.lang.Object
-
- java.lang.Enum<ReportDetails.Granularity>
-
- com.oracle.bmc.fleetappsmanagement.model.ReportDetails.Granularity
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<ReportDetails.Granularity>
- Enclosing class:
- ReportDetails
public static enum ReportDetails.Granularity extends Enum<ReportDetails.Granularity> implements BmcEnum
Granularity.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportDetails.Granularitycreate(String key)StringgetValue()static ReportDetails.GranularityvalueOf(String name)Returns the enum constant of this type with the specified name.static ReportDetails.Granularity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Day
public static final ReportDetails.Granularity Day
-
Week
public static final ReportDetails.Granularity Week
-
Month
public static final ReportDetails.Granularity Month
-
Quarter
public static final ReportDetails.Granularity Quarter
-
Year
public static final ReportDetails.Granularity Year
-
-
Method Detail
-
values
public static ReportDetails.Granularity[] 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 (ReportDetails.Granularity c : ReportDetails.Granularity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportDetails.Granularity 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 ReportDetails.Granularity create(String key)
-
-