Class ContainerRegistryEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventData
-
- Direct Known Subclasses:
ContainerRegistryImageDeletedEventData
,ContainerRegistryImagePushedEventData
public class ContainerRegistryEventData extends Object
The content of the event request message.
-
-
Constructor Summary
Constructors Constructor Description ContainerRegistryEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
Get the action property: The action that encompasses the provided event.ContainerRegistryEventActor
getActor()
Get the actor property: The agent that initiated the event.ContainerRegistryEventConnectedRegistry
getConnectedRegistry()
Get the connectedRegistry property: The connected registry information if the event is generated by a connected registry.String
getId()
Get the id property: The event ID.String
getLocation()
Get the location property: The location of the event.ContainerRegistryEventRequest
getRequest()
Get the request property: The request that generated the event.ContainerRegistryEventSource
getSource()
Get the source property: The registry node that generated the event.ContainerRegistryEventTarget
getTarget()
Get the target property: The target of the event.OffsetDateTime
getTimestamp()
Get the timestamp property: The time at which the event occurred.ContainerRegistryEventData
setAction(String action)
Set the action property: The action that encompasses the provided event.ContainerRegistryEventData
setActor(ContainerRegistryEventActor actor)
Set the actor property: The agent that initiated the event.ContainerRegistryEventData
setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry)
Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.ContainerRegistryEventData
setId(String id)
Set the id property: The event ID.ContainerRegistryEventData
setLocation(String location)
Set the location property: The location of the event.ContainerRegistryEventData
setRequest(ContainerRegistryEventRequest request)
Set the request property: The request that generated the event.ContainerRegistryEventData
setSource(ContainerRegistryEventSource source)
Set the source property: The registry node that generated the event.ContainerRegistryEventData
setTarget(ContainerRegistryEventTarget target)
Set the target property: The target of the event.ContainerRegistryEventData
setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.
-
-
-
Method Detail
-
getId
public String getId()
Get the id property: The event ID.- Returns:
- the id value.
-
setId
public ContainerRegistryEventData setId(String id)
Set the id property: The event ID.- Parameters:
id
- the id value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: The time at which the event occurred.- Returns:
- the timestamp value.
-
setTimestamp
public ContainerRegistryEventData setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getAction
public String getAction()
Get the action property: The action that encompasses the provided event.- Returns:
- the action value.
-
setAction
public ContainerRegistryEventData setAction(String action)
Set the action property: The action that encompasses the provided event.- Parameters:
action
- the action value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getLocation
public String getLocation()
Get the location property: The location of the event.- Returns:
- the location value.
-
setLocation
public ContainerRegistryEventData setLocation(String location)
Set the location property: The location of the event.- Parameters:
location
- the location value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getTarget
public ContainerRegistryEventTarget getTarget()
Get the target property: The target of the event.- Returns:
- the target value.
-
setTarget
public ContainerRegistryEventData setTarget(ContainerRegistryEventTarget target)
Set the target property: The target of the event.- Parameters:
target
- the target value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getRequest
public ContainerRegistryEventRequest getRequest()
Get the request property: The request that generated the event.- Returns:
- the request value.
-
setRequest
public ContainerRegistryEventData setRequest(ContainerRegistryEventRequest request)
Set the request property: The request that generated the event.- Parameters:
request
- the request value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
getActor
public ContainerRegistryEventActor 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
public ContainerRegistryEventData setActor(ContainerRegistryEventActor actor)
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
public ContainerRegistryEventSource 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
public ContainerRegistryEventData setSource(ContainerRegistryEventSource source)
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
public ContainerRegistryEventConnectedRegistry 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.
-
-