Skip to content

LibraryPanelBuilder🔗

Constructor🔗

new LibraryPanelBuilder()

Methods🔗

build🔗

Builds the object.

public LibraryPanel build()

description🔗

Panel description

public LibraryPanelBuilder description(String description)

folderUid🔗

Folder UID

public LibraryPanelBuilder folderUid(String folderUid)

meta🔗

Object storage metadata

public LibraryPanelBuilder meta(com.grafana.foundation.cog.Builder<LibraryElementDTOMeta> meta)

model🔗

TODO: should be the same panel schema defined in dashboard

Typescript: Omit;

public LibraryPanelBuilder model(com.grafana.foundation.cog.Builder<PanelModel> model)

name🔗

Panel name (also saved in the model)

public LibraryPanelBuilder name(String name)

schemaVersion🔗

Dashboard version when this was saved (zero if unknown)

public LibraryPanelBuilder schemaVersion(Short schemaVersion)

type🔗

The panel type (from inside the model)

public LibraryPanelBuilder type(String type)

uid🔗

Library element UID

public LibraryPanelBuilder uid(String uid)

version🔗

panel version, incremented each time the dashboard is updated.

public LibraryPanelBuilder version(Long version)

See also🔗