@Stability(value=Stable) public static final class AlarmWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<AlarmWidgetProps>
AlarmWidgetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AlarmWidgetProps.Builder |
alarm(IAlarm alarm)
Sets the value of
AlarmWidgetProps.getAlarm() |
AlarmWidgetProps |
build()
Builds the configured instance.
|
AlarmWidgetProps.Builder |
height(Number height)
Sets the value of
MetricWidgetProps.getHeight() |
AlarmWidgetProps.Builder |
leftYAxis(YAxisProps leftYAxis)
Sets the value of
AlarmWidgetProps.getLeftYAxis() |
AlarmWidgetProps.Builder |
region(String region)
Sets the value of
MetricWidgetProps.getRegion() |
AlarmWidgetProps.Builder |
title(String title)
Sets the value of
MetricWidgetProps.getTitle() |
AlarmWidgetProps.Builder |
width(Number width)
Sets the value of
MetricWidgetProps.getWidth() |
@Stability(value=Stable) public AlarmWidgetProps.Builder alarm(IAlarm alarm)
AlarmWidgetProps.getAlarm()alarm - The alarm to show. This parameter is required.this@Stability(value=Stable) public AlarmWidgetProps.Builder leftYAxis(YAxisProps leftYAxis)
AlarmWidgetProps.getLeftYAxis()leftYAxis - Left Y axis.this@Stability(value=Stable) public AlarmWidgetProps.Builder height(Number height)
MetricWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Stable) public AlarmWidgetProps.Builder region(String region)
MetricWidgetProps.getRegion()region - The region the metrics of this graph should be taken from.this@Stability(value=Stable) public AlarmWidgetProps.Builder title(String title)
MetricWidgetProps.getTitle()title - Title for the graph.this@Stability(value=Stable) public AlarmWidgetProps.Builder width(Number width)
MetricWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Stable) public AlarmWidgetProps build()
build in interface software.amazon.jsii.Builder<AlarmWidgetProps>AlarmWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.