Class GeoLocation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.GeoLocation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GeoLocation>
- Enclosing class:
- GeoLocation
public static class GeoLocation.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoLocation>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoLocationbuild()ObjectBuilder<GeoLocation>coords(java.util.List<java.lang.Double> v)ObjectBuilder<GeoLocation>geohash(java.util.function.Function<GeoHashLocation.Builder,ObjectBuilder<GeoHashLocation>> fn)ObjectBuilder<GeoLocation>geohash(GeoHashLocation v)ObjectBuilder<GeoLocation>latlon(java.util.function.Function<LatLonGeoLocation.Builder,ObjectBuilder<LatLonGeoLocation>> fn)ObjectBuilder<GeoLocation>latlon(LatLonGeoLocation v)ObjectBuilder<GeoLocation>text(java.lang.String v)-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
coords
public ObjectBuilder<GeoLocation> coords(java.util.List<java.lang.Double> v)
-
geohash
public ObjectBuilder<GeoLocation> geohash(GeoHashLocation v)
-
geohash
public ObjectBuilder<GeoLocation> geohash(java.util.function.Function<GeoHashLocation.Builder,ObjectBuilder<GeoHashLocation>> fn)
-
latlon
public ObjectBuilder<GeoLocation> latlon(LatLonGeoLocation v)
-
latlon
public ObjectBuilder<GeoLocation> latlon(java.util.function.Function<LatLonGeoLocation.Builder,ObjectBuilder<LatLonGeoLocation>> fn)
-
text
public ObjectBuilder<GeoLocation> text(java.lang.String v)
-
build
public GeoLocation build()
- Specified by:
buildin interfaceObjectBuilder<GeoLocation>
-
-