public static class ThresholdEventChart.Builder extends Widget.Builder<ThresholdEventChart,ThresholdEventChart.Builder>
Constructor and Description |
---|
Builder()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ThresholdEventChart.Builder |
addData(EventsData data)
Adds an item to the list of widget data items.
|
ThresholdEventChart.Builder |
addNrqlData(String nrql)
Adds the given nrql to the list of widget data items.
|
ThresholdEventChart |
build()
Returns the configured widget instance
|
ThresholdEventChart.Builder |
presentation(ThresholdPresentation presentation)
Sets the presentation of the widget.
|
protected ThresholdEventChart.Builder |
self()
Returns this object.
|
ThresholdEventChart.Builder |
threshold(Threshold threshold)
Sets the threshold of the presentation.
|
ThresholdEventChart.Builder |
visualization(ThresholdEventChart.Visualization visualization)
Sets the visualization of the widget.
|
accountId, layout, notes, position, size, title, visualization, widget
public ThresholdEventChart.Builder visualization(ThresholdEventChart.Visualization visualization)
visualization
- The visualization of the widgetpublic ThresholdEventChart.Builder presentation(ThresholdPresentation presentation)
presentation
- The presentation of the widgetpublic ThresholdEventChart.Builder threshold(Threshold threshold)
threshold
- The threshold of the presentationpublic ThresholdEventChart.Builder addData(EventsData data)
data
- The list of widget data itemspublic ThresholdEventChart.Builder addNrqlData(String nrql)
nrql
- The nrql of the widget dataprotected ThresholdEventChart.Builder self()
self
in class Widget.Builder<ThresholdEventChart,ThresholdEventChart.Builder>
public ThresholdEventChart build()
build
in class Widget.Builder<ThresholdEventChart,ThresholdEventChart.Builder>
Copyright © 2018. All rights reserved.