Package com.cercalia.sdk.model.poi
Class Poi.Builder
java.lang.Object
com.cercalia.sdk.model.poi.Poi.Builder
- Enclosing class:
- Poi
Builder for
Poi.-
Method Summary
Modifier and TypeMethodDescription@NotNull Poibuild()categoryCode(@NotNull String categoryCode) coord(@NotNull Coordinate coord) ge(@Nullable PoiGeographicElement ge) pixels(@Nullable PixelCoordinate pixels) routeDistance(@Nullable Integer routeDistance) routeRealtime(@Nullable Integer routeRealtime) routeWeight(@Nullable Integer routeWeight) subcategoryCode(@Nullable String subcategoryCode)
-
Method Details
-
id
- Parameters:
id- Unique identifier for the POI.- Returns:
- The builder.
-
name
- Parameters:
name- Name of the POI.- Returns:
- The builder.
-
info
- Parameters:
info- Additional information or description of the POI.- Returns:
- The builder.
-
categoryCode
- Parameters:
categoryCode- Primary category code for the POI.- Returns:
- The builder.
-
subcategoryCode
- Parameters:
subcategoryCode- Subcategory code for the POI.- Returns:
- The builder.
-
geometry
- Parameters:
geometry- Geometry associated with the POI in WKT format.- Returns:
- The builder.
-
distance
- Parameters:
distance- Euclidean distance from the search center in meters.- Returns:
- The builder.
-
position
- Parameters:
position- Position of the POI in the list of results.- Returns:
- The builder.
-
routeDistance
- Parameters:
routeDistance- Distance along the route in meters.- Returns:
- The builder.
-
routeTime
- Parameters:
routeTime- Travel time along the route in seconds.- Returns:
- The builder.
-
routeRealtime
- Parameters:
routeRealtime- Real-time travel time along the route in seconds.- Returns:
- The builder.
-
routeWeight
- Parameters:
routeWeight- Weight value for the route calculation.- Returns:
- The builder.
-
coord
- Parameters:
coord- Geographic coordinates of the POI.- Returns:
- The builder.
-
ge
- Parameters:
ge- Geographic/administrative details for the POI.- Returns:
- The builder.
-
pixels
- Parameters:
pixels- Pixel coordinates for the POI.- Returns:
- The builder.
-
build
- Returns:
- A new
Poiinstance.
-