Skip to content

MetricAggregationWithInlineScriptBuilder🔗

Constructor🔗

func NewMetricAggregationWithInlineScriptBuilder() *MetricAggregationWithInlineScriptBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *MetricAggregationWithInlineScriptBuilder) Build() (MetricAggregationWithInlineScript, error)

Hide🔗

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

Id🔗

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

Settings🔗

func (builder *MetricAggregationWithInlineScriptBuilder) Settings(settings cog.Builder[elasticsearch.ElasticsearchMetricAggregationWithInlineScriptSettings]) *MetricAggregationWithInlineScriptBuilder

Type🔗

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

See also🔗