Class GeoPolygonPoints.Builder
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.GeoPolygonPoints.Builder
- All Implemented Interfaces:
ObjectBuilder<GeoPolygonPoints>
- Enclosing class:
- GeoPolygonPoints
public static class GeoPolygonPoints.Builder extends java.lang.Object implements ObjectBuilder<GeoPolygonPoints>
Builder for
GeoPolygonPoints
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GeoPolygonPoints.Builder
addPoints(jakarta.json.JsonValue value)
Add a value topoints(List)
, creating the list if needed.GeoPolygonPoints
build()
Builds aGeoPolygonPoints
.GeoPolygonPoints.Builder
points(jakarta.json.JsonValue... value)
Required - API name:points
GeoPolygonPoints.Builder
points(java.util.List<jakarta.json.JsonValue> value)
Required - API name:points
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
-
points
Required - API name:points
-
points
Required - API name:points
-
addPoints
Add a value topoints(List)
, creating the list if needed. -
build
Builds aGeoPolygonPoints
.- Specified by:
build
in interfaceObjectBuilder<GeoPolygonPoints>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-