Class GeoHashLocation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.GeoHashLocation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GeoHashLocation>
- Enclosing class:
- GeoHashLocation
public static class GeoHashLocation.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoHashLocation>
Builder forGeoHashLocation.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoHashLocationbuild()Builds aGeoHashLocation.GeoHashLocation.Buildergeohash(java.lang.String value)Required - API name:geohash-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
geohash
public final GeoHashLocation.Builder geohash(java.lang.String value)
Required - API name:geohash
-
build
public GeoHashLocation build()
Builds aGeoHashLocation.- Specified by:
buildin interfaceObjectBuilder<GeoHashLocation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-