@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.266Z") @Stability(value=Stable) public interface SingleValueWidgetProps extends software.amazon.jsii.JsiiSerializable, MetricWidgetProps
Example:
Dashboard dashboard;
dashboard.addWidgets(SingleValueWidget.Builder.create()
.metrics(List.of())
.fullPrecision(true)
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
SingleValueWidgetProps.Builder
A builder for
SingleValueWidgetProps |
static class |
SingleValueWidgetProps.Jsii$Proxy
An implementation for
SingleValueWidgetProps |
| Modifier and Type | Method and Description |
|---|---|
static SingleValueWidgetProps.Builder |
builder() |
default Boolean |
getFullPrecision()
Whether to show as many digits as can fit, before rounding.
|
List<IMetric> |
getMetrics()
Metrics to display.
|
default Boolean |
getSetPeriodToTimeRange()
Whether to show the value from the entire time range.
|
default Boolean |
getSparkline()
Whether to show a graph below the value illustrating the value for the whole time range.
|
getHeight, getRegion, getTitle, getWidth@Stability(value=Stable) @Nullable default Boolean getFullPrecision()
Default: false
@Stability(value=Stable) @Nullable default Boolean getSetPeriodToTimeRange()
Default: false
@Stability(value=Stable) @Nullable default Boolean getSparkline()
Cannot be used in combination with setPeriodToTimeRange
Default: false
@Stability(value=Stable) static SingleValueWidgetProps.Builder builder()
builder in interface MetricWidgetPropsSingleValueWidgetProps.Builder of SingleValueWidgetPropsCopyright © 2022. All rights reserved.