Package com.oracle.bmc.budget.requests
Enum ListBudgetsRequest.TargetType
- java.lang.Object
-
- java.lang.Enum<ListBudgetsRequest.TargetType>
-
- com.oracle.bmc.budget.requests.ListBudgetsRequest.TargetType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListBudgetsRequest.TargetType>
- Enclosing class:
- ListBudgetsRequest
public static enum ListBudgetsRequest.TargetType extends Enum<ListBudgetsRequest.TargetType> implements BmcEnum
The type of target to filter by: * ALL - List all budgets * COMPARTMENT - List all budgets with targetType == “COMPARTMENT” * TAG - List all budgets with targetType == “TAG”
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
Compartment
Tag
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListBudgetsRequest.TargetType
create(String key)
String
getValue()
static ListBudgetsRequest.TargetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListBudgetsRequest.TargetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
All
public static final ListBudgetsRequest.TargetType All
-
Compartment
public static final ListBudgetsRequest.TargetType Compartment
-
Tag
public static final ListBudgetsRequest.TargetType Tag
-
-
Method Detail
-
values
public static ListBudgetsRequest.TargetType[] 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 (ListBudgetsRequest.TargetType c : ListBudgetsRequest.TargetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListBudgetsRequest.TargetType 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 ListBudgetsRequest.TargetType create(String key)
-
-