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
-
Method Summary
Modifier and TypeMethodDescriptionfinal TTestAggregation.Builder
a
(TestPopulation value) API name:a
final TTestAggregation.Builder
API name:a
final TTestAggregation.Builder
b
(TestPopulation value) API name:b
final TTestAggregation.Builder
API name:b
build()
Builds aTTestAggregation
.protected TTestAggregation.Builder
self()
final TTestAggregation.Builder
API name:type
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
a
API name:a
-
a
public final TTestAggregation.Builder a(Function<TestPopulation.Builder, ObjectBuilder<TestPopulation>> fn) API name:a
-
b
API name:b
-
b
public final TTestAggregation.Builder b(Function<TestPopulation.Builder, ObjectBuilder<TestPopulation>> fn) API name:b
-
type
API name:type
-
self
- Specified by:
self
in classAggregationBase.AbstractBuilder<TTestAggregation.Builder>
-
build
Builds aTTestAggregation
.- Specified by:
build
in interfaceObjectBuilder<TTestAggregation>
- Throws:
NullPointerException
- if some of the required fields are null.
-