Enum LogQueryLanguage
- All Implemented Interfaces:
Serializable
,Comparable<LogQueryLanguage>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:28.111Z")
@Stability(Stable)
public enum LogQueryLanguage
extends Enum<LogQueryLanguage>
Logs Query Language.
Example:
Dashboard dashboard; dashboard.addWidgets(LogQueryWidget.Builder.create() .logGroupNames(List.of("my-log-group")) .view(LogQueryVisualizationType.TABLE) .queryString("SELECT count(*) as count FROM 'my-log-group'") .queryLanguage(LogQueryLanguage.SQL) .build());
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LogQueryLanguage
Returns the enum constant of this type with the specified name.static LogQueryLanguage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOGS_INSIGHTS
Logs Insights QL. -
SQL
OpenSearch SQL. -
PPL
OpenSearch PPL.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-