Class GeoBoundsAggregate.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.GeoBoundsAggregate.Builder
- All Implemented Interfaces:
WithJson<GeoBoundsAggregate.Builder>,ObjectBuilder<GeoBoundsAggregate>
- Enclosing class:
- GeoBoundsAggregate
public static class GeoBoundsAggregate.Builder extends AggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder> implements ObjectBuilder<GeoBoundsAggregate>
Builder for
GeoBoundsAggregate.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoBoundsAggregate.Builderbounds(GeoBounds value)Required - API name:boundsGeoBoundsAggregate.Builderbounds(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)Required - API name:boundsGeoBoundsAggregatebuild()Builds aGeoBoundsAggregate.protected GeoBoundsAggregate.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods 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
-
bounds
Required - API name:bounds -
bounds
public final GeoBoundsAggregate.Builder bounds(java.util.function.Function<GeoBounds.Builder,ObjectBuilder<GeoBounds>> fn)Required - API name:bounds -
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<GeoBoundsAggregate.Builder>
-
build
Builds aGeoBoundsAggregate.- Specified by:
buildin interfaceObjectBuilder<GeoBoundsAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-