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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoPolygonPoints.final GeoPolygonPoints.Builderpoints(GeoLocation value, GeoLocation... values) Required - API name:pointsfinal GeoPolygonPoints.BuilderRequired - API name:pointsfinal GeoPolygonPoints.Builderpoints(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, _mapPutAll
-
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(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:
NullPointerException- if some of the required fields are null.
-