Class GeoHashLocation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GeoHashLocation.Builder>
co.elastic.clients.elasticsearch._types.GeoHashLocation.Builder
- All Implemented Interfaces:
WithJson<GeoHashLocation.Builder>,ObjectBuilder<GeoHashLocation>
- Enclosing class:
- GeoHashLocation
public static class GeoHashLocation.Builder extends WithJsonObjectBuilderBase<GeoHashLocation.Builder> implements ObjectBuilder<GeoHashLocation>
Builder for
GeoHashLocation.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoHashLocationbuild()Builds aGeoHashLocation.GeoHashLocation.Buildergeohash(java.lang.String value)Required - API name:geohashprotected GeoHashLocation.Builderself()Methods 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
-
geohash
Required - API name:geohash -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GeoHashLocation.Builder>
-
build
Builds aGeoHashLocation.- Specified by:
buildin interfaceObjectBuilder<GeoHashLocation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-