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 StringStatsAggregationbuild()Builds aStringStatsAggregation.protected StringStatsAggregation.Builderself()StringStatsAggregation.BuildershowDistribution(java.lang.Boolean value)API name:show_distributionMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, missing, missing, missing, missing, script, scriptMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classMetricAggregationBase.AbstractBuilder<StringStatsAggregation.Builder>
-
build
Builds aStringStatsAggregation.- Specified by:
buildin interfaceObjectBuilder<StringStatsAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-