@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.309Z") @Stability(value=Stable) public interface SingleValueWidgetProps extends software.amazon.jsii.JsiiSerializable, MetricWidgetProps
Example:
Dashboard dashboard;
Metric visitorCount;
Metric purchaseCount;
dashboard.addWidgets(SingleValueWidget.Builder.create()
.metrics(List.of(visitorCount, purchaseCount))
.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.
|
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) static SingleValueWidgetProps.Builder builder()
builder in interface MetricWidgetPropsSingleValueWidgetProps.Builder of SingleValueWidgetPropsCopyright © 2023. All rights reserved.