Enum LogAnalyticsParser.Type
- java.lang.Object
-
- java.lang.Enum<LogAnalyticsParser.Type>
-
- com.oracle.bmc.loganalytics.model.LogAnalyticsParser.Type
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<LogAnalyticsParser.Type>
- Enclosing class:
- LogAnalyticsParser
public static enum LogAnalyticsParser.Type extends Enum<LogAnalyticsParser.Type> implements BmcEnum
The parser type.Default value is REGEX.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogAnalyticsParser.Type
create(String key)
String
getValue()
static LogAnalyticsParser.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static LogAnalyticsParser.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Xml
public static final LogAnalyticsParser.Type Xml
-
Json
public static final LogAnalyticsParser.Type Json
-
Regex
public static final LogAnalyticsParser.Type Regex
-
Odl
public static final LogAnalyticsParser.Type Odl
-
Delimited
public static final LogAnalyticsParser.Type Delimited
-
UnknownEnumValue
public static final LogAnalyticsParser.Type UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static LogAnalyticsParser.Type[] 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 (LogAnalyticsParser.Type c : LogAnalyticsParser.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogAnalyticsParser.Type 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 LogAnalyticsParser.Type create(String key)
-
-