@Stability(value=Stable) public static final class MetricWidgetProps.Builder extends Object implements software.amazon.jsii.Builder<MetricWidgetProps>
MetricWidgetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MetricWidgetProps |
build()
Builds the configured instance.
|
MetricWidgetProps.Builder |
height(Number height)
Sets the value of
MetricWidgetProps.getHeight() |
MetricWidgetProps.Builder |
region(String region)
Sets the value of
MetricWidgetProps.getRegion() |
MetricWidgetProps.Builder |
title(String title)
Sets the value of
MetricWidgetProps.getTitle() |
MetricWidgetProps.Builder |
width(Number width)
Sets the value of
MetricWidgetProps.getWidth() |
@Stability(value=Stable) public MetricWidgetProps.Builder height(Number height)
MetricWidgetProps.getHeight()height - Height of the widget.this@Stability(value=Stable) public MetricWidgetProps.Builder region(String region)
MetricWidgetProps.getRegion()region - The region the metrics of this graph should be taken from.this@Stability(value=Stable) public MetricWidgetProps.Builder title(String title)
MetricWidgetProps.getTitle()title - Title for the graph.this@Stability(value=Stable) public MetricWidgetProps.Builder width(Number width)
MetricWidgetProps.getWidth()width - Width of the widget, in a grid of 24 units wide.this@Stability(value=Stable) public MetricWidgetProps build()
build in interface software.amazon.jsii.Builder<MetricWidgetProps>MetricWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.