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 -
Method Summary
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coords
-
geohash
-
geohash
public ObjectBuilder<GeoLocation> geohash(Function<GeoHashLocation.Builder, ObjectBuilder<GeoHashLocation>> fn) -
latlon
-
latlon
public ObjectBuilder<GeoLocation> latlon(Function<LatLonGeoLocation.Builder, ObjectBuilder<LatLonGeoLocation>> fn) -
text
-
build
- Specified by:
buildin interfaceObjectBuilder<GeoLocation>
-