Class GeoLineSort.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GeoLineSort.Builder>
co.elastic.clients.elasticsearch._types.aggregations.GeoLineSort.Builder
- All Implemented Interfaces:
WithJson<GeoLineSort.Builder>
,ObjectBuilder<GeoLineSort>
- Enclosing class:
- GeoLineSort
public static class GeoLineSort.Builder extends WithJsonObjectBuilderBase<GeoLineSort.Builder> implements ObjectBuilder<GeoLineSort>
Builder for
GeoLineSort
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GeoLineSort
build()
Builds aGeoLineSort
.GeoLineSort.Builder
field(java.lang.String value)
Required - API name:field
protected GeoLineSort.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
field
Required - API name:field
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<GeoLineSort.Builder>
-
build
Builds aGeoLineSort
.- Specified by:
build
in interfaceObjectBuilder<GeoLineSort>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-