Enum ListWarningsRequest.WarningState
- java.lang.Object
-
- java.lang.Enum<ListWarningsRequest.WarningState>
-
- com.oracle.bmc.loganalytics.requests.ListWarningsRequest.WarningState
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListWarningsRequest.WarningState>
- Enclosing class:
- ListWarningsRequest
public static enum ListWarningsRequest.WarningState extends Enum<ListWarningsRequest.WarningState> implements BmcEnum
The warning state used for filtering.A value of SUPPRESSED will return only suppressed warnings, a value of UNSUPPRESSED will return only unsuppressed warnings, and a value of ALL will return all warnings regardless of their suppression state. Default is UNSUPPRESSED.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description All
Suppressed
Unsuppressed
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListWarningsRequest.WarningState
create(String key)
String
getValue()
static ListWarningsRequest.WarningState
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListWarningsRequest.WarningState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
All
public static final ListWarningsRequest.WarningState All
-
Suppressed
public static final ListWarningsRequest.WarningState Suppressed
-
Unsuppressed
public static final ListWarningsRequest.WarningState Unsuppressed
-
-
Method Detail
-
values
public static ListWarningsRequest.WarningState[] 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 (ListWarningsRequest.WarningState c : ListWarningsRequest.WarningState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListWarningsRequest.WarningState 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 ListWarningsRequest.WarningState create(String key)
-
-