Skip to content

MetricAggregationWithFieldBuilder🔗

Constructor🔗

func NewMetricAggregationWithFieldBuilder() *MetricAggregationWithFieldBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *MetricAggregationWithFieldBuilder) Build() (MetricAggregationWithField, error)

Field🔗

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

Hide🔗

func (builder *MetricAggregationWithFieldBuilder) Hide(hide bool) *MetricAggregationWithFieldBuilder

Id🔗

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

Type🔗

func (builder *MetricAggregationWithFieldBuilder) Type(typeArg cog.Builder[elasticsearch.MetricAggregationType]) *MetricAggregationWithFieldBuilder

See also🔗