@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:51.309Z") @Stability(value=Stable) public class SingleValueWidget extends ConcreteWidget
Example:
Dashboard dashboard;
Metric visitorCount;
Metric purchaseCount;
dashboard.addWidgets(SingleValueWidget.Builder.create()
.metrics(List.of(visitorCount, purchaseCount))
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
SingleValueWidget.Builder
A fluent builder for
SingleValueWidget. |
software.amazon.jsii.JsiiObject.InitializationModeIWidget.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
SingleValueWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
SingleValueWidget(software.amazon.jsii.JsiiObjectRef objRef) |
|
SingleValueWidget(SingleValueWidgetProps props) |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
toJson()
Return the widget JSON for use in the dashboard.
|
copyMetricWarnings, getHeight, getWarnings, getWidth, getX, getY, position, setX, setYjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected SingleValueWidget(software.amazon.jsii.JsiiObjectRef objRef)
protected SingleValueWidget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public SingleValueWidget(@NotNull
SingleValueWidgetProps props)
props - This parameter is required.Copyright © 2023. All rights reserved.