Class TopRightBottomLeftGeoBounds.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.TopRightBottomLeftGeoBounds.Builder
-
- All Implemented Interfaces:
ObjectBuilder<TopRightBottomLeftGeoBounds>
- Enclosing class:
- TopRightBottomLeftGeoBounds
public static class TopRightBottomLeftGeoBounds.Builder extends ObjectBuilderBase implements ObjectBuilder<TopRightBottomLeftGeoBounds>
Builder forTopRightBottomLeftGeoBounds.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopRightBottomLeftGeoBounds.BuilderbottomLeft(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:bottom_leftTopRightBottomLeftGeoBounds.BuilderbottomLeft(GeoLocation value)Required - API name:bottom_leftTopRightBottomLeftGeoBoundsbuild()Builds aTopRightBottomLeftGeoBounds.TopRightBottomLeftGeoBounds.BuildertopRight(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:top_rightTopRightBottomLeftGeoBounds.BuildertopRight(GeoLocation value)Required - API name:top_right-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
topRight
public final TopRightBottomLeftGeoBounds.Builder topRight(GeoLocation value)
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
public final TopRightBottomLeftGeoBounds.Builder bottomLeft(GeoLocation value)
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
public TopRightBottomLeftGeoBounds build()
Builds aTopRightBottomLeftGeoBounds.- Specified by:
buildin interfaceObjectBuilder<TopRightBottomLeftGeoBounds>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-