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.Builder
bottomRight(LatLon value)
Required - API name:bottom_right
GeoBounds.Builder
bottomRight(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)
Required - API name:bottom_right
GeoBounds
build()
Builds aGeoBounds
.GeoBounds.Builder
topLeft(LatLon value)
Required - API name:top_left
GeoBounds.Builder
topLeft(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)
Required - API name:top_left
Methods 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:
build
in interfaceObjectBuilder<GeoBounds>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-