Class HoltMovingAverageAggregation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.MovingAverageAggregationBase.AbstractBuilder<HoltMovingAverageAggregation.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.HoltMovingAverageAggregation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<HoltMovingAverageAggregation>
- Enclosing class:
- HoltMovingAverageAggregation
public static class HoltMovingAverageAggregation.Builder extends MovingAverageAggregationBase.AbstractBuilder<HoltMovingAverageAggregation.Builder> implements ObjectBuilder<HoltMovingAverageAggregation>
Builder forHoltMovingAverageAggregation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HoltMovingAverageAggregation
build()
Builds aHoltMovingAverageAggregation
.protected HoltMovingAverageAggregation.Builder
self()
HoltMovingAverageAggregation.Builder
settings(java.util.function.Function<HoltLinearModelSettings.Builder,ObjectBuilder<HoltLinearModelSettings>> fn)
Required - API name:settings
HoltMovingAverageAggregation.Builder
settings(HoltLinearModelSettings value)
Required - API name:settings
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MovingAverageAggregationBase.AbstractBuilder
minimize, predict, window
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.PipelineAggregationBase.AbstractBuilder
bucketsPath, bucketsPath, format, gapPolicy
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
settings
public final HoltMovingAverageAggregation.Builder settings(HoltLinearModelSettings value)
Required - API name:settings
-
settings
public final HoltMovingAverageAggregation.Builder settings(java.util.function.Function<HoltLinearModelSettings.Builder,ObjectBuilder<HoltLinearModelSettings>> fn)
Required - API name:settings
-
self
protected HoltMovingAverageAggregation.Builder self()
- Specified by:
self
in classAggregationBase.AbstractBuilder<HoltMovingAverageAggregation.Builder>
-
build
public HoltMovingAverageAggregation build()
Builds aHoltMovingAverageAggregation
.- Specified by:
build
in interfaceObjectBuilder<HoltMovingAverageAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-