Skip to content

AnnotationQuerySpecBuilder🔗

Constructor🔗

new AnnotationQuerySpecBuilder()

Methods🔗

build🔗

Builds the object.

public AnnotationQuerySpec build()

builtIn🔗

public AnnotationQuerySpecBuilder builtIn(Boolean builtIn)

enable🔗

public AnnotationQuerySpecBuilder enable(Boolean enable)

filter🔗

public AnnotationQuerySpecBuilder filter(com.grafana.foundation.cog.Builder<AnnotationPanelFilter> filter)

hide🔗

public AnnotationQuerySpecBuilder hide(Boolean hide)

iconColor🔗

public AnnotationQuerySpecBuilder iconColor(String iconColor)

legacyOptions🔗

Catch-all field for datasource-specific properties. Should not be available in as code tooling.

public AnnotationQuerySpecBuilder legacyOptions(Map<String, Object> legacyOptions)

mappings🔗

Mappings define how to convert data frame fields to annotation event fields.

public AnnotationQuerySpecBuilder mappings(Map<String, com.grafana.foundation.cog.Builder<AnnotationEventFieldMapping>> mappings)

name🔗

public AnnotationQuerySpecBuilder name(String name)

placement🔗

Placement can be used to display the annotation query somewhere else on the dashboard other than the default location.

public AnnotationQuerySpecBuilder placement(String placement)

query🔗

public AnnotationQuerySpecBuilder query(com.grafana.foundation.cog.Builder<DataQueryKind> query)

See also🔗