Class GeoPolygonPoints.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<GeoPolygonPoints.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.GeoPolygonPoints.Builder
- All Implemented Interfaces:
WithJson<GeoPolygonPoints.Builder>,ObjectBuilder<GeoPolygonPoints>
- Enclosing class:
- GeoPolygonPoints
public static class GeoPolygonPoints.Builder extends WithJsonObjectBuilderBase<GeoPolygonPoints.Builder> implements ObjectBuilder<GeoPolygonPoints>
Builder for
GeoPolygonPoints.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoPolygonPointsbuild()Builds aGeoPolygonPoints.GeoPolygonPoints.Builderpoints(GeoLocation value, GeoLocation... values)Required - API name:pointsGeoPolygonPoints.Builderpoints(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:pointsGeoPolygonPoints.Builderpoints(java.util.List<GeoLocation> list)Required - API name:pointsprotected GeoPolygonPoints.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
-
points
Required - API name:pointsAdds all elements of
listtopoints. -
points
Required - API name:pointsAdds one or more values to
points. -
points
public final GeoPolygonPoints.Builder points(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:pointsAdds a value to
pointsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<GeoPolygonPoints.Builder>
-
build
Builds aGeoPolygonPoints.- Specified by:
buildin interfaceObjectBuilder<GeoPolygonPoints>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-