Class GeofenceMatch.Builder
java.lang.Object
com.cercalia.sdk.model.geofencing.GeofenceMatch.Builder
- Enclosing class:
- GeofenceMatch
Builder for
GeofenceMatch.-
Method Summary
Modifier and TypeMethodDescription@NotNull GeofenceMatchbuild()Builds theGeofenceMatch.@NotNull GeofenceMatch.BuilderpointsInside(@NotNull List<GeofenceMatch.MatchedPoint> pointsInside) Sets the matched points inside this shape.@NotNull GeofenceMatch.BuilderSets the shape ID.@NotNull GeofenceMatch.BuilderSets the shape WKT.
-
Method Details
-
shapeId
Sets the shape ID.- Parameters:
shapeId- the shape identifier.- Returns:
- this builder.
-
shapeWkt
Sets the shape WKT.- Parameters:
shapeWkt- the WKT geometry.- Returns:
- this builder.
-
pointsInside
@NotNull public @NotNull GeofenceMatch.Builder pointsInside(@NotNull @NotNull List<GeofenceMatch.MatchedPoint> pointsInside) Sets the matched points inside this shape.- Parameters:
pointsInside- list of matched points.- Returns:
- this builder.
-
build
Builds theGeofenceMatch.- Returns:
- a new
GeofenceMatch.
-