Class MaxAggregation.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<MaxAggregation.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.MaxAggregation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<MaxAggregation>
- Enclosing class:
- MaxAggregation
public static class MaxAggregation.Builder extends FormatMetricAggregationBase.AbstractBuilder<MaxAggregation.Builder> implements ObjectBuilder<MaxAggregation>
Builder forMaxAggregation.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaxAggregationbuild()Builds aMaxAggregation.protected MaxAggregation.Builderself()-
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, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected MaxAggregation.Builder self()
- Specified by:
selfin classMetricAggregationBase.AbstractBuilder<MaxAggregation.Builder>
-
build
public MaxAggregation build()
Builds aMaxAggregation.- Specified by:
buildin interfaceObjectBuilder<MaxAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-