Class GeoResults.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GeoResults.Builder>
co.elastic.clients.elasticsearch.ml.GeoResults.Builder
- All Implemented Interfaces:
WithJson<GeoResults.Builder>,ObjectBuilder<GeoResults>
- Enclosing class:
- GeoResults
public static class GeoResults.Builder
extends WithJsonObjectBuilderBase<GeoResults.Builder>
implements ObjectBuilder<GeoResults>
Builder for
GeoResults.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal GeoResults.BuilderactualPoint(String value) The actual value for the bucket formatted as ageo_point.build()Builds aGeoResults.protected GeoResults.Builderself()final GeoResults.BuildertypicalPoint(String value) The typical value for the bucket formatted as ageo_point.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actualPoint
The actual value for the bucket formatted as ageo_point.API name:
actual_point -
typicalPoint
The typical value for the bucket formatted as ageo_point.API name:
typical_point -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GeoResults.Builder>
-
build
Builds aGeoResults.- Specified by:
buildin interfaceObjectBuilder<GeoResults>- Throws:
NullPointerException- if some of the required fields are null.
-