Skip to content

DashboardLinkBuilder🔗

Constructor🔗

new DashboardLinkBuilder(String title)

Methods🔗

build🔗

Builds the object.

public DashboardLink build()

asDropdown🔗

If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards

public DashboardLinkBuilder asDropdown(Boolean asDropdown)

icon🔗

Icon name to be displayed with the link

public DashboardLinkBuilder icon(String icon)

includeVars🔗

If true, includes current template variables values in the link as query params

public DashboardLinkBuilder includeVars(Boolean includeVars)

keepTime🔗

If true, includes current time range in the link as query params

public DashboardLinkBuilder keepTime(Boolean keepTime)

tags🔗

List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards

public DashboardLinkBuilder tags(List<String> tags)

targetBlank🔗

If true, the link will be opened in a new tab

public DashboardLinkBuilder targetBlank(Boolean targetBlank)

title🔗

Title to display with the link

public DashboardLinkBuilder title(String title)

tooltip🔗

Tooltip to display when the user hovers their mouse over it

public DashboardLinkBuilder tooltip(String tooltip)

type🔗

Link type. Accepted values are dashboards (to refer to another dashboard) and link (to refer to an external resource)

public DashboardLinkBuilder type(DashboardLinkType type)

url🔗

Link URL. Only required/valid if the type is link

public DashboardLinkBuilder url(String url)

See also🔗