Class ContainerRegistryImageDeletedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventData
com.azure.messaging.eventgrid.systemevents.ContainerRegistryImageDeletedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImageDeleted event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ContainerRegistryImageDeletedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionSet the action property: The action that encompasses the provided event.Set the actor property: The agent that initiated the event.setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry) Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.Set the id property: The event ID.setLocation(String location) Set the location property: The location of the event.setRequest(ContainerRegistryEventRequest request) Set the request property: The request that generated the event.Set the source property: The registry node that generated the event.Set the target property: The target of the event.setTimestamp(OffsetDateTime timestamp) Set the timestamp property: The time at which the event occurred.Methods inherited from class com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventData
getAction, getActor, getConnectedRegistry, getId, getLocation, getRequest, getSource, getTarget, getTimestamp
-
Constructor Details
-
ContainerRegistryImageDeletedEventData
public ContainerRegistryImageDeletedEventData()Creates an instance of ContainerRegistryImageDeletedEventData class.
-
-
Method Details
-
setId
Set the id property: The event ID.- Overrides:
setIdin classContainerRegistryEventData- Parameters:
id- the id value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setTimestamp
Set the timestamp property: The time at which the event occurred.- Overrides:
setTimestampin classContainerRegistryEventData- Parameters:
timestamp- the timestamp value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setAction
Set the action property: The action that encompasses the provided event.- Overrides:
setActionin classContainerRegistryEventData- Parameters:
action- the action value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setLocation
Set the location property: The location of the event.- Overrides:
setLocationin classContainerRegistryEventData- Parameters:
location- the location value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setTarget
Set the target property: The target of the event.- Overrides:
setTargetin classContainerRegistryEventData- Parameters:
target- the target value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setRequest
Set the request property: The request that generated the event.- Overrides:
setRequestin classContainerRegistryEventData- Parameters:
request- the request value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setActor
Set the actor property: The agent that initiated the event. For most situations, this could be from the authorization context of the request.- Overrides:
setActorin classContainerRegistryEventData- Parameters:
actor- the actor value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setSource
Set the source property: The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.- Overrides:
setSourcein classContainerRegistryEventData- Parameters:
source- the source value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setConnectedRegistry
public ContainerRegistryImageDeletedEventData setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry) Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.- Overrides:
setConnectedRegistryin classContainerRegistryEventData- Parameters:
connectedRegistry- the connectedRegistry value to set.- Returns:
- the ContainerRegistryEventData object itself.
-