Class StringRareTermsAggregate.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder<StringRareTermsBucket,StringRareTermsAggregate.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.StringRareTermsAggregate.Builder
-
- All Implemented Interfaces:
ObjectBuilder<StringRareTermsAggregate>
- Enclosing class:
- StringRareTermsAggregate
public static class StringRareTermsAggregate.Builder extends MultiBucketAggregateBase.AbstractBuilder<StringRareTermsBucket,StringRareTermsAggregate.Builder> implements ObjectBuilder<StringRareTermsAggregate>
Builder forStringRareTermsAggregate
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringRareTermsAggregate
build()
Builds aStringRareTermsAggregate
.protected StringRareTermsAggregate.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder
buckets, buckets, tBucketSerializer
-
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, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected StringRareTermsAggregate.Builder self()
- Specified by:
self
in classAggregateBase.AbstractBuilder<StringRareTermsAggregate.Builder>
-
build
public StringRareTermsAggregate build()
Builds aStringRareTermsAggregate
.- Specified by:
build
in interfaceObjectBuilder<StringRareTermsAggregate>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-