Class GeoPolygonPoints.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.GeoPolygonPoints.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GeoPolygonPoints>
- Enclosing class:
- GeoPolygonPoints
public static class GeoPolygonPoints.Builder extends ObjectBuilderBase implements ObjectBuilder<GeoPolygonPoints>
Builder forGeoPolygonPoints.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoPolygonPointsbuild()Builds aGeoPolygonPoints.GeoPolygonPoints.Builderpoints(java.util.function.Function<GeoLocation.Builder,ObjectBuilder<GeoLocation>> fn)Required - API name:pointsGeoPolygonPoints.Builderpoints(java.util.List<GeoLocation> list)Required - API name:pointsGeoPolygonPoints.Builderpoints(GeoLocation value, GeoLocation... values)Required - API name:points-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
points
public final GeoPolygonPoints.Builder points(java.util.List<GeoLocation> list)
Required - API name:pointsAdds all elements of
listtopoints.
-
points
public final GeoPolygonPoints.Builder points(GeoLocation value, GeoLocation... values)
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.
-
build
public GeoPolygonPoints build()
Builds aGeoPolygonPoints.- Specified by:
buildin interfaceObjectBuilder<GeoPolygonPoints>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-