Class GeoBounds.Builder
java.lang.Object
org.opensearch.client.opensearch._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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoBounds.BuilderbottomRight(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)API name:bottom_rightGeoBounds.BuilderbottomRight(LatLon value)API name:bottom_rightGeoBoundsbuild()Builds aGeoBounds.GeoBounds.BuildertopLeft(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)API name:top_leftGeoBounds.BuildertopLeft(LatLon value)API name:top_left
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bottomRight
API name:bottom_right -
bottomRight
public GeoBounds.Builder bottomRight(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)API name:bottom_right -
topLeft
API name:top_left -
topLeft
public GeoBounds.Builder topLeft(java.util.function.Function<LatLon.Builder,ObjectBuilder<LatLon>> fn)API name:top_left -
build
Builds aGeoBounds.- Specified by:
buildin interfaceObjectBuilder<GeoBounds>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-