Class GeoBoundsAggregation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder<GeoBoundsAggregation.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.GeoBoundsAggregation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GeoBoundsAggregation>
- Enclosing class:
- GeoBoundsAggregation
public static class GeoBoundsAggregation.Builder extends MetricAggregationBase.AbstractBuilder<GeoBoundsAggregation.Builder> implements ObjectBuilder<GeoBoundsAggregation>
Builder forGeoBoundsAggregation.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoBoundsAggregationbuild()Builds aGeoBoundsAggregation.protected GeoBoundsAggregation.Builderself()GeoBoundsAggregation.BuilderwrapLongitude(java.lang.Boolean value)API name:wrap_longitude-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase.AbstractBuilder
field, missing, missing, script, script
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
wrapLongitude
public final GeoBoundsAggregation.Builder wrapLongitude(@Nullable java.lang.Boolean value)
API name:wrap_longitude
-
self
protected GeoBoundsAggregation.Builder self()
- Specified by:
selfin classMetricAggregationBase.AbstractBuilder<GeoBoundsAggregation.Builder>
-
build
public GeoBoundsAggregation build()
Builds aGeoBoundsAggregation.- Specified by:
buildin interfaceObjectBuilder<GeoBoundsAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-