Class MapsGeofenceEnteredEventData


  • public final class MapsGeofenceEnteredEventData
    extends MapsGeofenceEventProperties
    Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceEntered event.
    • Constructor Detail

      • MapsGeofenceEnteredEventData

        public MapsGeofenceEnteredEventData()
    • Method Detail

      • setExpiredGeofenceGeometryId

        public MapsGeofenceEnteredEventData 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 class MapsGeofenceEventProperties
        Parameters:
        expiredGeofenceGeometryId - the expiredGeofenceGeometryId value to set.
        Returns:
        the MapsGeofenceEventProperties object itself.
      • setInvalidPeriodGeofenceGeometryId

        public MapsGeofenceEnteredEventData 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 class MapsGeofenceEventProperties
        Parameters:
        invalidPeriodGeofenceGeometryId - the invalidPeriodGeofenceGeometryId value to set.
        Returns:
        the MapsGeofenceEventProperties object itself.
      • setIsEventPublished

        public MapsGeofenceEnteredEventData 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 class MapsGeofenceEventProperties
        Parameters:
        isEventPublished - the isEventPublished value to set.
        Returns:
        the MapsGeofenceEventProperties object itself.