Enum LogQueryVisualizationType
java.lang.Object
java.lang.Enum<LogQueryVisualizationType>
software.amazon.awscdk.services.cloudwatch.LogQueryVisualizationType
- All Implemented Interfaces:
Serializable
,Comparable<LogQueryVisualizationType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:15.744Z")
@Stability(Stable)
public enum LogQueryVisualizationType
extends Enum<LogQueryVisualizationType>
Types of view.
Example:
Dashboard dashboard; dashboard.addWidgets(LogQueryWidget.Builder.create() .logGroupNames(List.of("my-log-group")) .view(LogQueryVisualizationType.TABLE) // The lines will be automatically combined using '\n|'. .queryLines(List.of("fields @message", "filter @message like /Error/")) .build());
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBar view.Line view.Pie view.Stacked area view.Table view. -
Method Summary
Modifier and TypeMethodDescriptionstatic LogQueryVisualizationType
Returns the enum constant of this type with the specified name.static LogQueryVisualizationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TABLE
Table view. -
LINE
Line view. -
STACKEDAREA
Stacked area view. -
BAR
Bar view. -
PIE
Pie view.
-
-
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
-