Skip to content

NotebookSpecBuilder🔗

A notebook spec is a dashboard spec with narrative content. It has a title, optional description, tags, time

settings, and a map of elements (panels and cells) referenced by the layout.

Constructor🔗

new NotebookSpecBuilder()

Methods🔗

build🔗

Builds the object.

public NotebookSpec build()

description🔗

public NotebookSpecBuilder description(String description)

elements🔗

public NotebookSpecBuilder elements(Map<String, NotebookElement> elements)

layout🔗

public NotebookSpecBuilder layout(com.grafana.foundation.cog.Builder<NotebookLayoutKind> layout)

tags🔗

public NotebookSpecBuilder tags(List<String> tags)

timeSettings🔗

public NotebookSpecBuilder timeSettings(com.grafana.foundation.cog.Builder<TimeSettingsSpec> timeSettings)

title🔗

public NotebookSpecBuilder title(String title)

See also🔗