Class SamplerAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase.AbstractBuilder<SamplerAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.SamplerAggregation.Builder
- All Implemented Interfaces:
WithJson<SamplerAggregation.Builder>,ObjectBuilder<SamplerAggregation>
- Enclosing class:
- SamplerAggregation
public static class SamplerAggregation.Builder
extends BucketAggregationBase.AbstractBuilder<SamplerAggregation.Builder>
implements ObjectBuilder<SamplerAggregation>
Builder for
SamplerAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSamplerAggregation.protected SamplerAggregation.Builderself()API name:shard_sizeMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shardSize
API name:shard_size -
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<SamplerAggregation.Builder>
-
build
Builds aSamplerAggregation.- Specified by:
buildin interfaceObjectBuilder<SamplerAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-