Class LatLon.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.LatLon.Builder
- All Implemented Interfaces:
ObjectBuilder<LatLon>
- Enclosing class:
- LatLon
public static class LatLon.Builder extends java.lang.Object implements ObjectBuilder<LatLon>
Builder for
LatLon
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LatLon
build()
Builds aLatLon
.LatLon.Builder
lat(double value)
Required - API name:lat
LatLon.Builder
lon(double value)
Required - API name:lon
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
-
lat
Required - API name:lat
-
lon
Required - API name:lon
-
build
Builds aLatLon
.- Specified by:
build
in interfaceObjectBuilder<LatLon>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-