Skip to content

IntervalVariableBuilder🔗

Constructor🔗

new IntervalVariableBuilder(String name)

Methods🔗

build🔗

Builds the object.

public IntervalVariable build()

allowCustomValue🔗

Allow custom values to be entered in the variable

public IntervalVariableBuilder allowCustomValue(Boolean allowCustomValue)

auto🔗

Dynamically calculates interval by dividing time range by the count specified.

public IntervalVariableBuilder auto(Boolean auto)

current🔗

Shows current selected variable text/value on the dashboard

public IntervalVariableBuilder current(VariableOption current)

description🔗

Description of variable. It can be defined but null.

public IntervalVariableBuilder description(String description)

hide🔗

Visibility configuration for the variable

public IntervalVariableBuilder hide(VariableHide hide)

label🔗

Optional display name

public IntervalVariableBuilder label(String label)

minInterval🔗

The minimum threshold below which the step count intervals will not divide the time.

public IntervalVariableBuilder minInterval(String autoMin)

name🔗

Name of variable

public IntervalVariableBuilder name(String name)

options🔗

Options that can be selected for a variable.

public IntervalVariableBuilder options(List<VariableOption> options)

stepCount🔗

How many times the current time range should be divided to calculate the value, similar to the Max data points query option.

For example, if the current visible time range is 30 minutes, then the auto interval groups the data into 30 one-minute increments.

public IntervalVariableBuilder stepCount(Integer autoCount)

values🔗

Query used to fetch values for a variable

public IntervalVariableBuilder values(StringOrMap query)

See also🔗