Skip to content

PlaylistBuilder🔗

Constructor🔗

new PlaylistBuilder()

Methods🔗

build🔗

Builds the object.

public Playlist build()

interval🔗

Interval sets the time between switching views in a playlist.

FIXME: Is this based on a standardized format or what options are available? Can datemath be used?

public PlaylistBuilder interval(String interval)

items🔗

The ordered list of items that the playlist will iterate over.

FIXME! This should not be optional, but changing it makes the godegen awkward

public PlaylistBuilder items(List<com.grafana.foundation.cog.Builder<PlaylistItem>> items)

name🔗

Name of the playlist.

public PlaylistBuilder name(String name)

uid🔗

Unique playlist identifier. Generated on creation, either by the

creator of the playlist of by the application.

public PlaylistBuilder uid(String uid)

See also🔗