Class ContainerRegistryImagePushedEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventData
-
- com.azure.messaging.eventgrid.systemevents.ContainerRegistryImagePushedEventData
-
public final class ContainerRegistryImagePushedEventData extends ContainerRegistryEventData
Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event.
-
-
Constructor Summary
Constructors Constructor Description ContainerRegistryImagePushedEventData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerRegistryImagePushedEventData
setAction(String action)
Set the action property: The action that encompasses the provided event.ContainerRegistryImagePushedEventData
setActor(ContainerRegistryEventActor actor)
Set the actor property: The agent that initiated the event.ContainerRegistryImagePushedEventData
setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry)
Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.ContainerRegistryImagePushedEventData
setId(String id)
Set the id property: The event ID.ContainerRegistryImagePushedEventData
setLocation(String location)
Set the location property: The location of the event.ContainerRegistryImagePushedEventData
setRequest(ContainerRegistryEventRequest request)
Set the request property: The request that generated the event.ContainerRegistryImagePushedEventData
setSource(ContainerRegistryEventSource source)
Set the source property: The registry node that generated the event.ContainerRegistryImagePushedEventData
setTarget(ContainerRegistryEventTarget target)
Set the target property: The target of the event.ContainerRegistryImagePushedEventData
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
-
-
-
-
Method Detail
-
setId
public ContainerRegistryImagePushedEventData setId(String id)
Set the id property: The event ID.- Overrides:
setId
in classContainerRegistryEventData
- Parameters:
id
- the id value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setTimestamp
public ContainerRegistryImagePushedEventData setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.- Overrides:
setTimestamp
in classContainerRegistryEventData
- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setAction
public ContainerRegistryImagePushedEventData setAction(String action)
Set the action property: The action that encompasses the provided event.- Overrides:
setAction
in classContainerRegistryEventData
- Parameters:
action
- the action value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setLocation
public ContainerRegistryImagePushedEventData setLocation(String location)
Set the location property: The location of the event.- Overrides:
setLocation
in classContainerRegistryEventData
- Parameters:
location
- the location value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setTarget
public ContainerRegistryImagePushedEventData setTarget(ContainerRegistryEventTarget target)
Set the target property: The target of the event.- Overrides:
setTarget
in classContainerRegistryEventData
- Parameters:
target
- the target value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setRequest
public ContainerRegistryImagePushedEventData setRequest(ContainerRegistryEventRequest request)
Set the request property: The request that generated the event.- Overrides:
setRequest
in classContainerRegistryEventData
- Parameters:
request
- the request value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setActor
public ContainerRegistryImagePushedEventData 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.- Overrides:
setActor
in classContainerRegistryEventData
- Parameters:
actor
- the actor value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setSource
public ContainerRegistryImagePushedEventData 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.- Overrides:
setSource
in classContainerRegistryEventData
- Parameters:
source
- the source value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
setConnectedRegistry
public ContainerRegistryImagePushedEventData setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry)
Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.- Overrides:
setConnectedRegistry
in classContainerRegistryEventData
- Parameters:
connectedRegistry
- the connectedRegistry value to set.- Returns:
- the ContainerRegistryEventData object itself.
-
-