Class GeoBoundsAggregation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder<GeoBoundsAggregation.Builder>
co.elastic.clients.elasticsearch._types.aggregations.GeoBoundsAggregation.Builder
- All Implemented Interfaces:
WithJson<GeoBoundsAggregation.Builder>,ObjectBuilder<GeoBoundsAggregation>
- Enclosing class:
- GeoBoundsAggregation
public static class GeoBoundsAggregation.Builder
extends MetricAggregationBase.AbstractBuilder<GeoBoundsAggregation.Builder>
implements ObjectBuilder<GeoBoundsAggregation>
Builder for
GeoBoundsAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoBoundsAggregation.protected GeoBoundsAggregation.Builderself()wrapLongitude(Boolean value) Specifies whether the bounding box should be allowed to overlap the international date line.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, missing, missing, missing, missing, script, scriptMethods 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
-
wrapLongitude
Specifies whether the bounding box should be allowed to overlap the international date line.API name:
wrap_longitude -
self
- Specified by:
selfin classMetricAggregationBase.AbstractBuilder<GeoBoundsAggregation.Builder>
-
build
Builds aGeoBoundsAggregation.- Specified by:
buildin interfaceObjectBuilder<GeoBoundsAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-