Class StatsAggregate.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.StatsAggregate.AbstractBuilder<StatsAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.StatsAggregate.Builder
- All Implemented Interfaces:
WithJson<StatsAggregate.Builder>
,ObjectBuilder<StatsAggregate>
- Enclosing class:
- StatsAggregate
public static class StatsAggregate.Builder extends StatsAggregate.AbstractBuilder<StatsAggregate.Builder> implements ObjectBuilder<StatsAggregate>
Builder for
StatsAggregate
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description StatsAggregate
build()
Builds aStatsAggregate
.protected StatsAggregate.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.StatsAggregate.AbstractBuilder
avg, avgAsString, count, max, maxAsString, min, minAsString, sum, sumAsString
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classAggregateBase.AbstractBuilder<StatsAggregate.Builder>
-
build
Builds aStatsAggregate
.- Specified by:
build
in interfaceObjectBuilder<StatsAggregate>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-