Class TTestAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder<TTestAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.TTestAggregation.Builder
- All Implemented Interfaces:
WithJson<TTestAggregation.Builder>,ObjectBuilder<TTestAggregation>
- Enclosing class:
- TTestAggregation
public static class TTestAggregation.Builder
extends AggregationBase.AbstractBuilder<TTestAggregation.Builder>
implements ObjectBuilder<TTestAggregation>
Builder for
TTestAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal TTestAggregation.Buildera(TestPopulation value) Test population A.final TTestAggregation.BuilderTest population A.final TTestAggregation.Builderb(TestPopulation value) Test population B.final TTestAggregation.BuilderTest population B.build()Builds aTTestAggregation.protected TTestAggregation.Builderself()final TTestAggregation.BuilderThe type of test.Methods 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
-
a
Test population A.API name:
a -
a
public final TTestAggregation.Builder a(Function<TestPopulation.Builder, ObjectBuilder<TestPopulation>> fn) Test population A.API name:
a -
b
Test population B.API name:
b -
b
public final TTestAggregation.Builder b(Function<TestPopulation.Builder, ObjectBuilder<TestPopulation>> fn) Test population B.API name:
b -
type
The type of test.API name:
type -
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<TTestAggregation.Builder>
-
build
Builds aTTestAggregation.- Specified by:
buildin interfaceObjectBuilder<TTestAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-