@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum LogType extends Enum<LogType>
The type of log file. Can be one of the following:
INDEX_SLOW_LOGS - Index slow logs contain insert requests that took more time than the configured index query log threshold to execute.
SEARCH_SLOW_LOGS - Search slow logs contain search queries that took more time than the configured search query log threshold to execute.
ES_APPLICATION_LOGS - OpenSearch application logs contain information about errors and warnings raised during the operation of the service and can be useful for troubleshooting.
AUDIT_LOGS - Audit logs contain records of user requests for access to the domain.
Enum Constant and Description |
---|
AUDIT_LOGS |
ES_APPLICATION_LOGS |
INDEX_SLOW_LOGS |
SEARCH_SLOW_LOGS |
Modifier and Type | Method and Description |
---|---|
static LogType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static LogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogType INDEX_SLOW_LOGS
public static final LogType SEARCH_SLOW_LOGS
public static final LogType ES_APPLICATION_LOGS
public static final LogType AUDIT_LOGS
public static LogType[] values()
for (LogType c : LogType.values()) System.out.println(c);
public static LogType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static LogType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.