Class SignificantLongTermsAggregate.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.MultiBucketAggregateBase.AbstractBuilder<T,BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.SignificantTermsAggregateBase.AbstractBuilder<SignificantLongTermsBucket,SignificantLongTermsAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.SignificantLongTermsAggregate.Builder
- All Implemented Interfaces:
WithJson<SignificantLongTermsAggregate.Builder>
,ObjectBuilder<SignificantLongTermsAggregate>
- Enclosing class:
- SignificantLongTermsAggregate
public static class SignificantLongTermsAggregate.Builder
extends SignificantTermsAggregateBase.AbstractBuilder<SignificantLongTermsBucket,SignificantLongTermsAggregate.Builder>
implements ObjectBuilder<SignificantLongTermsAggregate>
Builder for
SignificantLongTermsAggregate
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aSignificantLongTermsAggregate
.protected SignificantLongTermsAggregate.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.SignificantTermsAggregateBase.AbstractBuilder
bgCount, docCount, tSerializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder
buckets, buckets, tBucketSerializer
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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classAggregateBase.AbstractBuilder<SignificantLongTermsAggregate.Builder>
-
build
Builds aSignificantLongTermsAggregate
.- Specified by:
build
in interfaceObjectBuilder<SignificantLongTermsAggregate>
- Throws:
NullPointerException
- if some of the required fields are null.
-