public static enum RequestSummarizedUsagesDetails.Granularity extends Enum<RequestSummarizedUsagesDetails.Granularity> implements BmcEnum
The usage granularity. HOURLY - Hourly data aggregation. DAILY - Daily data aggregation. MONTHLY - Monthly data aggregation. TOTAL - Not yet supported.
Modifier and Type | Method and Description |
---|---|
static RequestSummarizedUsagesDetails.Granularity |
create(String key) |
String |
getValue() |
static RequestSummarizedUsagesDetails.Granularity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestSummarizedUsagesDetails.Granularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestSummarizedUsagesDetails.Granularity Hourly
public static final RequestSummarizedUsagesDetails.Granularity Daily
public static final RequestSummarizedUsagesDetails.Granularity Monthly
public static final RequestSummarizedUsagesDetails.Granularity Total
public static RequestSummarizedUsagesDetails.Granularity[] values()
for (RequestSummarizedUsagesDetails.Granularity c : RequestSummarizedUsagesDetails.Granularity.values()) System.out.println(c);
public static RequestSummarizedUsagesDetails.Granularity 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 RequestSummarizedUsagesDetails.Granularity create(String key)
Copyright © 2016–2024. All rights reserved.