Class GeoHashLocation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.GeoHashLocation.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoHashLocation>
- Enclosing class:
- GeoHashLocation
public static class GeoHashLocation.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoHashLocation>
Builder for
GeoHashLocation
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GeoHashLocation
build()
Builds aGeoHashLocation
.GeoHashLocation.Builder
geohash(java.lang.String value)
Required - API name:geohash
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
build
Builds aGeoHashLocation
.- Specified by:
build
in interfaceObjectBuilder<GeoHashLocation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-