Class StringStatsAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder<StringStatsAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.StringStatsAggregation.Builder
- All Implemented Interfaces:
WithJson<StringStatsAggregation.Builder>
,ObjectBuilder<StringStatsAggregation>
- Enclosing class:
- StringStatsAggregation
public static class StringStatsAggregation.Builder extends MetricAggregationBase.AbstractBuilder<StringStatsAggregation.Builder> implements ObjectBuilder<StringStatsAggregation>
Builder for
StringStatsAggregation
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description StringStatsAggregation
build()
Builds aStringStatsAggregation
.protected StringStatsAggregation.Builder
self()
StringStatsAggregation.Builder
showDistribution(java.lang.Boolean value)
API name:show_distribution
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, missing, missing, missing, missing, script, script
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
-
showDistribution
API name:show_distribution
-
self
- Specified by:
self
in classMetricAggregationBase.AbstractBuilder<StringStatsAggregation.Builder>
-
build
Builds aStringStatsAggregation
.- Specified by:
build
in interfaceObjectBuilder<StringStatsAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-