@Stability(value=Experimental) public static final class MetricWidgetProps.Builder extends Object
MetricWidgetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
MetricWidgetProps |
build()
Builds the configured instance.
|
MetricWidgetProps.Builder |
withHeight(Number value)
Sets the value of Height
|
MetricWidgetProps.Builder |
withRegion(String value)
Sets the value of Region
|
MetricWidgetProps.Builder |
withTitle(String value)
Sets the value of Title
|
MetricWidgetProps.Builder |
withWidth(Number value)
Sets the value of Width
|
@Stability(value=Experimental) public MetricWidgetProps.Builder withHeight(@Nullable Number value)
value - Height of the widget.this@Stability(value=Experimental) public MetricWidgetProps.Builder withRegion(@Nullable String value)
value - The region the metrics of this graph should be taken from.this@Stability(value=Experimental) public MetricWidgetProps.Builder withTitle(@Nullable String value)
value - Title for the graph.this@Stability(value=Experimental) public MetricWidgetProps.Builder withWidth(@Nullable Number value)
value - Width of the widget, in a grid of 24 units wide.this@Stability(value=Experimental) public MetricWidgetProps build()
MetricWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.