Class TopRightBottomLeftGeoBounds.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.TopRightBottomLeftGeoBounds.Builder
- All Implemented Interfaces:
ObjectBuilder<TopRightBottomLeftGeoBounds>
- Enclosing class:
- TopRightBottomLeftGeoBounds
public static class TopRightBottomLeftGeoBounds.Builder extends ObjectBuilderBase implements ObjectBuilder<TopRightBottomLeftGeoBounds>
Builder for
TopRightBottomLeftGeoBounds
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TopRightBottomLeftGeoBounds.Builder
bottomLeft(GeoLocation value)
Required - API name:bottom_left
TopRightBottomLeftGeoBounds.Builder
bottomLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)
Required - API name:bottom_left
TopRightBottomLeftGeoBounds
build()
Builds aTopRightBottomLeftGeoBounds
.TopRightBottomLeftGeoBounds.Builder
topRight(GeoLocation value)
Required - API name:top_right
TopRightBottomLeftGeoBounds.Builder
topRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)
Required - API name:top_right
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
topRight
Required - API name:top_right
-
topRight
public final TopRightBottomLeftGeoBounds.Builder topRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:top_right
-
bottomLeft
Required - API name:bottom_left
-
bottomLeft
public final TopRightBottomLeftGeoBounds.Builder bottomLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:bottom_left
-
build
Builds aTopRightBottomLeftGeoBounds
.- Specified by:
build
in interfaceObjectBuilder<TopRightBottomLeftGeoBounds>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-