Package com.oracle.bmc.budget.model
Enum SortByForCostAd
- java.lang.Object
-
- java.lang.Enum<SortByForCostAd>
-
- com.oracle.bmc.budget.model.SortByForCostAd
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<SortByForCostAd>
@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public enum SortByForCostAd extends Enum<SortByForCostAd> implements BmcEnumThe field to sort costAd by.Default is timeCreated (DESC).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IdNameTimeCreated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SortByForCostAdcreate(String key)StringgetValue()static SortByForCostAdvalueOf(String name)Returns the enum constant of this type with the specified name.static SortByForCostAd[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TimeCreated
public static final SortByForCostAd TimeCreated
-
Name
public static final SortByForCostAd Name
-
Id
public static final SortByForCostAd Id
-
-
Method Detail
-
values
public static SortByForCostAd[] 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 (SortByForCostAd c : SortByForCostAd.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SortByForCostAd 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 SortByForCostAd create(String key)
-
-