Class MinAggregation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase.AbstractBuilder<MinAggregation.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.MinAggregation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<MinAggregation>
- Enclosing class:
- MinAggregation
public static class MinAggregation.Builder extends FormatMetricAggregationBase.AbstractBuilder<MinAggregation.Builder> implements ObjectBuilder<MinAggregation>
Builder forMinAggregation
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MinAggregation
build()
Builds aMinAggregation
.protected MinAggregation.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.FormatMetricAggregationBase.AbstractBuilder
format
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, script, script
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected MinAggregation.Builder self()
- Specified by:
self
in classMetricAggregationBase.AbstractBuilder<MinAggregation.Builder>
-
build
public MinAggregation build()
Builds aMinAggregation
.- Specified by:
build
in interfaceObjectBuilder<MinAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-