Class StatsAggregate.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.StatsAggregate.AbstractBuilder<StatsAggregate.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.StatsAggregate.Builder
-
- All Implemented Interfaces:
ObjectBuilder<StatsAggregate>
- Enclosing class:
- StatsAggregate
public static class StatsAggregate.Builder extends StatsAggregate.AbstractBuilder<StatsAggregate.Builder> implements ObjectBuilder<StatsAggregate>
Builder forStatsAggregate.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsAggregatebuild()Builds aStatsAggregate.protected StatsAggregate.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.StatsAggregate.AbstractBuilder
avg, avgAsString, count, max, maxAsString, min, minAsString, sum, sumAsString
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected StatsAggregate.Builder self()
- Specified by:
selfin classAggregateBase.AbstractBuilder<StatsAggregate.Builder>
-
build
public StatsAggregate build()
Builds aStatsAggregate.- Specified by:
buildin interfaceObjectBuilder<StatsAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-