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