@Stability(value=Stable) public static final class SingleValueWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<SingleValueWidgetProps>
SingleValueWidgetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SingleValueWidgetProps |
build()
Builds the configured instance.
|
SingleValueWidgetProps.Builder |
fullPrecision(Boolean fullPrecision)
Sets the value of
SingleValueWidgetProps.getFullPrecision() |
SingleValueWidgetProps.Builder |
height(Number height)
Sets the value of
MetricWidgetProps.getHeight() |
SingleValueWidgetProps.Builder |
metrics(List<? extends IMetric> metrics)
Sets the value of
SingleValueWidgetProps.getMetrics() |
SingleValueWidgetProps.Builder |
region(String region)
Sets the value of
MetricWidgetProps.getRegion() |
SingleValueWidgetProps.Builder |
setPeriodToTimeRange(Boolean setPeriodToTimeRange)
Sets the value of
SingleValueWidgetProps.getSetPeriodToTimeRange() |
SingleValueWidgetProps.Builder |
title(String title)
Sets the value of
MetricWidgetProps.getTitle() |
SingleValueWidgetProps.Builder |
width(Number width)
Sets the value of
MetricWidgetProps.getWidth() |
@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 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 © 2023. All rights reserved.