Skip to content

SnapshotBuilder🔗

Constructor🔗

new SnapshotBuilder()

Methods🔗

build🔗

Builds the object.

public Snapshot build()

dashboard🔗

public SnapshotBuilder dashboard(com.grafana.foundation.cog.Builder<Dashboard> dashboard)

expires🔗

Time when the snapshot expires, default is never to expire

public SnapshotBuilder expires(String expires)

external🔗

Is the snapshot saved in an external grafana instance

public SnapshotBuilder external(Boolean external)

externalUrl🔗

external url, if snapshot was shared in external grafana instance

public SnapshotBuilder externalUrl(String externalUrl)

id🔗

Unique identifier of the snapshot

public SnapshotBuilder id(Integer id)

key🔗

Optional, defined the unique key of the snapshot, required if external is true

public SnapshotBuilder key(String key)

name🔗

Optional, name of the snapshot

public SnapshotBuilder name(String name)

orgId🔗

org id of the snapshot

public SnapshotBuilder orgId(Integer orgId)

originalUrl🔗

original url, url of the dashboard that was snapshotted

public SnapshotBuilder originalUrl(String originalUrl)

url🔗

url of the snapshot, if snapshot was shared internally

public SnapshotBuilder url(String url)

See also🔗