Class GeofenceMatch.Builder

java.lang.Object
com.cercalia.sdk.model.geofencing.GeofenceMatch.Builder
Enclosing class:
GeofenceMatch

public static final class GeofenceMatch.Builder extends Object
Builder for GeofenceMatch.
  • Method Details

    • shapeId

      @NotNull public @NotNull GeofenceMatch.Builder shapeId(@NotNull @NotNull String shapeId)
      Sets the shape ID.
      Parameters:
      shapeId - the shape identifier.
      Returns:
      this builder.
    • shapeWkt

      @NotNull public @NotNull GeofenceMatch.Builder shapeWkt(@NotNull @NotNull String 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

      @NotNull public @NotNull GeofenceMatch build()
      Builds the GeofenceMatch.
      Returns:
      a new GeofenceMatch.