Class MapsGeofenceExitedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.MapsGeofenceEventProperties
-
- com.azure.messaging.eventgrid.systemevents.MapsGeofenceExitedEventData
-
public final class MapsGeofenceExitedEventData extends MapsGeofenceEventProperties
Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceExited event.
-
-
Constructor Summary
Constructors Constructor Description MapsGeofenceExitedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapsGeofenceExitedEventData
setExpiredGeofenceGeometryId(List<String> expiredGeofenceGeometryId)
Set the expiredGeofenceGeometryId property: Lists of the geometry ID of the geofence which is expired relative to the user time in the request.MapsGeofenceExitedEventData
setGeometries(List<MapsGeofenceGeometry> geometries)
Set the geometries property: Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.MapsGeofenceExitedEventData
setInvalidPeriodGeofenceGeometryId(List<String> invalidPeriodGeofenceGeometryId)
Set the invalidPeriodGeofenceGeometryId property: Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.MapsGeofenceExitedEventData
setIsEventPublished(Boolean isEventPublished)
Set the isEventPublished property: True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.-
Methods inherited from class com.azure.messaging.eventgrid.systemevents.MapsGeofenceEventProperties
getExpiredGeofenceGeometryId, getGeometries, getInvalidPeriodGeofenceGeometryId, isEventPublished
-
-
-
-
Method Detail
-
setExpiredGeofenceGeometryId
public MapsGeofenceExitedEventData setExpiredGeofenceGeometryId(List<String> expiredGeofenceGeometryId)
Set the expiredGeofenceGeometryId property: Lists of the geometry ID of the geofence which is expired relative to the user time in the request.- Overrides:
setExpiredGeofenceGeometryId
in classMapsGeofenceEventProperties
- Parameters:
expiredGeofenceGeometryId
- the expiredGeofenceGeometryId value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
setGeometries
public MapsGeofenceExitedEventData setGeometries(List<MapsGeofenceGeometry> geometries)
Set the geometries property: Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.- Overrides:
setGeometries
in classMapsGeofenceEventProperties
- Parameters:
geometries
- the geometries value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
setInvalidPeriodGeofenceGeometryId
public MapsGeofenceExitedEventData setInvalidPeriodGeofenceGeometryId(List<String> invalidPeriodGeofenceGeometryId)
Set the invalidPeriodGeofenceGeometryId property: Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.- Overrides:
setInvalidPeriodGeofenceGeometryId
in classMapsGeofenceEventProperties
- Parameters:
invalidPeriodGeofenceGeometryId
- the invalidPeriodGeofenceGeometryId value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
setIsEventPublished
public MapsGeofenceExitedEventData setIsEventPublished(Boolean isEventPublished)
Set the isEventPublished property: True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber.- Overrides:
setIsEventPublished
in classMapsGeofenceEventProperties
- Parameters:
isEventPublished
- the isEventPublished value to set.- Returns:
- the MapsGeofenceEventProperties object itself.
-
-