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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SamplerAggregationbuild()Builds aSamplerAggregation.protected SamplerAggregation.Builderself()SamplerAggregation.BuildershardSize(java.lang.Integer value)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, _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
-
shardSize
API name:shard_size -
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<SamplerAggregation.Builder>
-
build
Builds aSamplerAggregation.- Specified by:
buildin interfaceObjectBuilder<SamplerAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-