Skip to content

HistogramBuilder🔗

Constructor🔗

func NewHistogramBuilder() *HistogramBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *HistogramBuilder) Build() (Histogram, error)

Field🔗

func (builder *HistogramBuilder) Field(field string) *HistogramBuilder

Id🔗

func (builder *HistogramBuilder) Id(id string) *HistogramBuilder

Settings🔗

func (builder *HistogramBuilder) Settings(settings cog.Builder[elasticsearch.ElasticsearchHistogramSettings]) *HistogramBuilder

See also🔗