Class ContainerRegistryEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventData
- Direct Known Subclasses:
ContainerRegistryImageDeletedEventData
,ContainerRegistryImagePushedEventData
The content of the event request message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the action property: The action that encompasses the provided event.getActor()
Get the actor property: The agent that initiated the event.Get the connectedRegistry property: The connected registry information if the event is generated by a connected registry.getId()
Get the id property: The event ID.Get the location property: The location of the event.Get the request property: The request that generated the event.Get the source property: The registry node that generated the event.Get the target property: The target of the event.Get the timestamp property: The time at which the event occurred.Set 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.
-
Constructor Details
-
ContainerRegistryEventData
public ContainerRegistryEventData()
-
-
Method Details
-
getId
Get the id property: The event ID.- Returns:
- the id value.
-
setId
Set the id property: The event ID.- Parameters:
id
- the id value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getTimestamp
Get the timestamp property: The time at which the event occurred.- Returns:
- the timestamp value.
-
setTimestamp
Set the timestamp property: The time at which the event occurred.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getAction
Get the action property: The action that encompasses the provided event.- Returns:
- the action value.
-
setAction
Set the action property: The action that encompasses the provided event.- Parameters:
action
- the action value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getLocation
Get the location property: The location of the event.- Returns:
- the location value.
-
setLocation
Set the location property: The location of the event.- Parameters:
location
- the location value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getTarget
Get the target property: The target of the event.- Returns:
- the target value.
-
setTarget
Set the target property: The target of the event.- Parameters:
target
- the target value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getRequest
Get the request property: The request that generated the event.- Returns:
- the request value.
-
setRequest
Set the request property: The request that generated the event.- Parameters:
request
- the request value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getActor
Get the actor property: The agent that initiated the event. For most situations, this could be from the authorization context of the request.- Returns:
- the actor value.
-
setActor
Set the actor property: The agent that initiated the event. For most situations, this could be from the authorization context of the request.- Parameters:
actor
- the actor value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getSource
Get the source property: The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.- Returns:
- the source value.
-
setSource
Set the source property: The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.- Parameters:
source
- the source value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getConnectedRegistry
Get the connectedRegistry property: The connected registry information if the event is generated by a connected registry.- Returns:
- the connectedRegistry value.
-
setConnectedRegistry
public ContainerRegistryEventData setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry) Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.- Parameters:
connectedRegistry
- the connectedRegistry value to set.- Returns:
- the ContainerRegistryEventData object itself.
-