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 Details

    • ContainerRegistryEventData

      public ContainerRegistryEventData()
  • Method Details

    • getId

      public String 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

      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

      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

      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

      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

      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.