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