Class TopLeftBottomRightGeoBounds.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.TopLeftBottomRightGeoBounds.Builder
-
- All Implemented Interfaces:
ObjectBuilder<TopLeftBottomRightGeoBounds>
- Enclosing class:
- TopLeftBottomRightGeoBounds
public static class TopLeftBottomRightGeoBounds.Builder extends ObjectBuilderBase implements ObjectBuilder<TopLeftBottomRightGeoBounds>
Builder forTopLeftBottomRightGeoBounds.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopLeftBottomRightGeoBounds.BuilderbottomRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:bottom_rightTopLeftBottomRightGeoBounds.BuilderbottomRight(GeoLocation value)Required - API name:bottom_rightTopLeftBottomRightGeoBoundsbuild()Builds aTopLeftBottomRightGeoBounds.TopLeftBottomRightGeoBounds.BuildertopLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:top_leftTopLeftBottomRightGeoBounds.BuildertopLeft(GeoLocation value)Required - API name:top_left-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
topLeft
public final TopLeftBottomRightGeoBounds.Builder topLeft(GeoLocation value)
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
public final TopLeftBottomRightGeoBounds.Builder bottomRight(GeoLocation value)
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
public TopLeftBottomRightGeoBounds build()
Builds aTopLeftBottomRightGeoBounds.- Specified by:
buildin interfaceObjectBuilder<TopLeftBottomRightGeoBounds>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-