Class TopLeftBottomRightGeoBounds.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.TopLeftBottomRightGeoBounds.Builder
- All Implemented Interfaces:
ObjectBuilder<TopLeftBottomRightGeoBounds>
- Enclosing class:
- TopLeftBottomRightGeoBounds
public static class TopLeftBottomRightGeoBounds.Builder extends ObjectBuilderBase implements ObjectBuilder<TopLeftBottomRightGeoBounds>
Builder for
TopLeftBottomRightGeoBounds
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description TopLeftBottomRightGeoBounds.Builder
bottomRight(GeoLocation value)
Required - API name:bottom_right
TopLeftBottomRightGeoBounds.Builder
bottomRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)
Required - API name:bottom_right
TopLeftBottomRightGeoBounds
build()
Builds aTopLeftBottomRightGeoBounds
.TopLeftBottomRightGeoBounds.Builder
topLeft(GeoLocation value)
Required - API name:top_left
TopLeftBottomRightGeoBounds.Builder
topLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)
Required - API name:top_left
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
-
topLeft
Required - API name:top_left
-
topLeft
public final TopLeftBottomRightGeoBounds.Builder topLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:top_left
-
bottomRight
Required - API name:bottom_right
-
bottomRight
public final TopLeftBottomRightGeoBounds.Builder bottomRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:bottom_right
-
build
Builds aTopLeftBottomRightGeoBounds
.- Specified by:
build
in interfaceObjectBuilder<TopLeftBottomRightGeoBounds>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-