@Stability(value=Stable) public static final class SingleValueWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<SingleValueWidgetProps>
SingleValueWidgetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public SingleValueWidgetProps.Builder metrics(List<? extends IMetric> metrics)
SingleValueWidgetProps.getMetrics()metrics - Metrics to display. This parameter is required.this@Stability(value=Stable) public SingleValueWidgetProps.Builder fullPrecision(Boolean fullPrecision)
SingleValueWidgetProps.getFullPrecision()fullPrecision - Whether to show as many digits as can fit, before rounding.this@Stability(value=Stable) public SingleValueWidgetProps.Builder setPeriodToTimeRange(Boolean setPeriodToTimeRange)
SingleValueWidgetProps.getSetPeriodToTimeRange()setPeriodToTimeRange - Whether to show the value from the entire time range.this@Stability(value=Stable) public SingleValueWidgetProps.Builder sparkline(Boolean sparkline)
SingleValueWidgetProps.getSparkline()sparkline - Whether to show a graph below the value illustrating the value for the whole time range.
Cannot be used in combination with setPeriodToTimeRangethis@Stability(value=Stable) public SingleValueWidgetProps.Builder height(Number height)
MetricWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Stable) public SingleValueWidgetProps.Builder region(String region)
MetricWidgetProps.getRegion()region - The region the metrics of this graph should be taken from.this@Stability(value=Stable) public SingleValueWidgetProps.Builder title(String title)
MetricWidgetProps.getTitle()title - Title for the graph.this@Stability(value=Stable) public SingleValueWidgetProps.Builder width(Number width)
MetricWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Stable) public SingleValueWidgetProps build()
build in interface software.amazon.jsii.Builder<SingleValueWidgetProps>SingleValueWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.