Class TopLeftBottomRightGeoBounds.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TopLeftBottomRightGeoBounds.Builder>
co.elastic.clients.elasticsearch._types.TopLeftBottomRightGeoBounds.Builder
- All Implemented Interfaces:
WithJson<TopLeftBottomRightGeoBounds.Builder>,ObjectBuilder<TopLeftBottomRightGeoBounds>
- Enclosing class:
- TopLeftBottomRightGeoBounds
public static class TopLeftBottomRightGeoBounds.Builder extends WithJsonObjectBuilderBase<TopLeftBottomRightGeoBounds.Builder> implements ObjectBuilder<TopLeftBottomRightGeoBounds>
Builder for
TopLeftBottomRightGeoBounds.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TopLeftBottomRightGeoBounds.BuilderbottomRight(GeoLocation value)Required - API name:bottom_rightTopLeftBottomRightGeoBounds.BuilderbottomRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:bottom_rightTopLeftBottomRightGeoBoundsbuild()Builds aTopLeftBottomRightGeoBounds.protected TopLeftBottomRightGeoBounds.Builderself()TopLeftBottomRightGeoBounds.BuildertopLeft(GeoLocation value)Required - API name:top_leftTopLeftBottomRightGeoBounds.BuildertopLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:top_leftMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<TopLeftBottomRightGeoBounds.Builder>
-
build
Builds aTopLeftBottomRightGeoBounds.- Specified by:
buildin interfaceObjectBuilder<TopLeftBottomRightGeoBounds>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-