Enum ListLabelsRequest.LabelSortBy
- java.lang.Object
-
- java.lang.Enum<ListLabelsRequest.LabelSortBy>
-
- com.oracle.bmc.loganalytics.requests.ListLabelsRequest.LabelSortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListLabelsRequest.LabelSortBy>
- Enclosing class:
- ListLabelsRequest
public static enum ListLabelsRequest.LabelSortBy extends Enum<ListLabelsRequest.LabelSortBy> implements BmcEnum
The attribute used to sort the returned labels
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Name
Priority
SourceUsing
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListLabelsRequest.LabelSortBy
create(String key)
String
getValue()
static ListLabelsRequest.LabelSortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListLabelsRequest.LabelSortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Name
public static final ListLabelsRequest.LabelSortBy Name
-
Priority
public static final ListLabelsRequest.LabelSortBy Priority
-
SourceUsing
public static final ListLabelsRequest.LabelSortBy SourceUsing
-
-
Method Detail
-
values
public static ListLabelsRequest.LabelSortBy[] 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 (ListLabelsRequest.LabelSortBy c : ListLabelsRequest.LabelSortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListLabelsRequest.LabelSortBy 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 ListLabelsRequest.LabelSortBy create(String key)
-
-