Class GeoBounds.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.GeoBounds.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoBounds>
- Enclosing class:
- GeoBounds
public static class GeoBounds.Builder extends java.lang.Object implements ObjectBuilder<GeoBounds>
Builder for
GeoBounds.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoBounds.BuilderbottomRight(LatLon value)Required - API name:bottom_rightGeoBounds.BuilderbottomRight(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)Required - API name:bottom_rightGeoBoundsbuild()Builds aGeoBounds.GeoBounds.BuildertopLeft(LatLon value)Required - API name:top_leftGeoBounds.BuildertopLeft(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)Required - API name:top_leftMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bottomRight
Required - API name:bottom_right -
bottomRight
public GeoBounds.Builder bottomRight(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)Required - API name:bottom_right -
topLeft
Required - API name:top_left -
topLeft
public GeoBounds.Builder topLeft(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)Required - API name:top_left -
build
Builds aGeoBounds.- Specified by:
buildin interfaceObjectBuilder<GeoBounds>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-