Class LatLonGeoLocation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<LatLonGeoLocation.Builder>
co.elastic.clients.elasticsearch._types.LatLonGeoLocation.Builder
- All Implemented Interfaces:
WithJson<LatLonGeoLocation.Builder>,ObjectBuilder<LatLonGeoLocation>
- Enclosing class:
- LatLonGeoLocation
public static class LatLonGeoLocation.Builder extends WithJsonObjectBuilderBase<LatLonGeoLocation.Builder> implements ObjectBuilder<LatLonGeoLocation>
Builder for
LatLonGeoLocation.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LatLonGeoLocationbuild()Builds aLatLonGeoLocation.LatLonGeoLocation.Builderlat(double value)Required - API name:latLatLonGeoLocation.Builderlon(double value)Required - API name:lonprotected LatLonGeoLocation.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
-
lat
Required - API name:lat -
lon
Required - API name:lon -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<LatLonGeoLocation.Builder>
-
build
Builds aLatLonGeoLocation.- Specified by:
buildin interfaceObjectBuilder<LatLonGeoLocation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-