Package com.oracle.bmc.usageapi.model
Enum RequestSummarizedUsagesDetails.QueryType
- java.lang.Object
-
- java.lang.Enum<RequestSummarizedUsagesDetails.QueryType>
-
- com.oracle.bmc.usageapi.model.RequestSummarizedUsagesDetails.QueryType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<RequestSummarizedUsagesDetails.QueryType>
- Enclosing class:
- RequestSummarizedUsagesDetails
public static enum RequestSummarizedUsagesDetails.QueryType extends Enum<RequestSummarizedUsagesDetails.QueryType> implements BmcEnum
The query usage type.COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data. AllCredit - Query the credit adjustments and expired credit.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Allcredit
Cost
Credit
Expiredcredit
Usage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RequestSummarizedUsagesDetails.QueryType
create(String key)
String
getValue()
static RequestSummarizedUsagesDetails.QueryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestSummarizedUsagesDetails.QueryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Usage
public static final RequestSummarizedUsagesDetails.QueryType Usage
-
Cost
public static final RequestSummarizedUsagesDetails.QueryType Cost
-
Credit
public static final RequestSummarizedUsagesDetails.QueryType Credit
-
Expiredcredit
public static final RequestSummarizedUsagesDetails.QueryType Expiredcredit
-
Allcredit
public static final RequestSummarizedUsagesDetails.QueryType Allcredit
-
-
Method Detail
-
values
public static RequestSummarizedUsagesDetails.QueryType[] 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 (RequestSummarizedUsagesDetails.QueryType c : RequestSummarizedUsagesDetails.QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestSummarizedUsagesDetails.QueryType 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 RequestSummarizedUsagesDetails.QueryType create(String key)
-
-