@Stability(value=Stable) public static final class LogQueryWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<LogQueryWidgetProps>
LogQueryWidgetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public LogQueryWidgetProps.Builder logGroupNames(List<String> logGroupNames)
LogQueryWidgetProps.getLogGroupNames()logGroupNames - Names of log groups to query. This parameter is required.this@Stability(value=Stable) public LogQueryWidgetProps.Builder height(Number height)
LogQueryWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Stable) public LogQueryWidgetProps.Builder queryLines(List<String> queryLines)
LogQueryWidgetProps.getQueryLines()queryLines - A sequence of lines to use to build the query.
The query will be built by joining the lines together using \n|.this@Stability(value=Stable) public LogQueryWidgetProps.Builder queryString(String queryString)
LogQueryWidgetProps.getQueryString()queryString - Full query string for log insights.
Be sure to prepend every new line with a newline and pipe character
(\n|).this@Stability(value=Stable) public LogQueryWidgetProps.Builder region(String region)
LogQueryWidgetProps.getRegion()region - The region the metrics of this widget should be taken from.this@Stability(value=Stable) public LogQueryWidgetProps.Builder title(String title)
LogQueryWidgetProps.getTitle()title - Title for the widget.this@Stability(value=Stable) public LogQueryWidgetProps.Builder view(LogQueryVisualizationType view)
LogQueryWidgetProps.getView()view - The type of view to use.this@Stability(value=Stable) public LogQueryWidgetProps.Builder width(Number width)
LogQueryWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Stable) public LogQueryWidgetProps build()
build in interface software.amazon.jsii.Builder<LogQueryWidgetProps>LogQueryWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.