Class SignificantLongTermsAggregate.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder<SignificantLongTermsBucket,SignificantLongTermsAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.SignificantLongTermsAggregate.Builder
- All Implemented Interfaces:
ObjectBuilder<SignificantLongTermsAggregate>
- Enclosing class:
- SignificantLongTermsAggregate
public static class SignificantLongTermsAggregate.Builder extends MultiBucketAggregateBase.AbstractBuilder<SignificantLongTermsBucket,SignificantLongTermsAggregate.Builder> implements ObjectBuilder<SignificantLongTermsAggregate>
Builder for
SignificantLongTermsAggregate
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SignificantLongTermsAggregate
build()
Builds aSignificantLongTermsAggregate
.protected SignificantLongTermsAggregate.Builder
self()
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.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<SignificantLongTermsAggregate.Builder>
-
build
Builds aSignificantLongTermsAggregate
.- Specified by:
build
in interfaceObjectBuilder<SignificantLongTermsAggregate>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-