Class ContainerRegistryArtifactEventData
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.ContainerRegistryArtifactEventData
-
- Direct Known Subclasses:
ContainerRegistryChartDeletedEventData
,ContainerRegistryChartPushedEventData
public class ContainerRegistryArtifactEventData extends Object
The content of the event request message.
-
-
Constructor Summary
Constructors Constructor Description ContainerRegistryArtifactEventData()
-
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.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.ContainerRegistryArtifactEventTarget
getTarget()
Get the target property: The target of the event.OffsetDateTime
getTimestamp()
Get the timestamp property: The time at which the event occurred.ContainerRegistryArtifactEventData
setAction(String action)
Set the action property: The action that encompasses the provided event.ContainerRegistryArtifactEventData
setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry)
Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.ContainerRegistryArtifactEventData
setId(String id)
Set the id property: The event ID.ContainerRegistryArtifactEventData
setLocation(String location)
Set the location property: The location of the event.ContainerRegistryArtifactEventData
setTarget(ContainerRegistryArtifactEventTarget target)
Set the target property: The target of the event.ContainerRegistryArtifactEventData
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 ContainerRegistryArtifactEventData setId(String id)
Set the id property: The event ID.- Parameters:
id
- the id value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
getTimestamp
public OffsetDateTime getTimestamp()
Get the timestamp property: The time at which the event occurred.- Returns:
- the timestamp value.
-
setTimestamp
public ContainerRegistryArtifactEventData setTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time at which the event occurred.- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
getAction
public String getAction()
Get the action property: The action that encompasses the provided event.- Returns:
- the action value.
-
setAction
public ContainerRegistryArtifactEventData setAction(String action)
Set the action property: The action that encompasses the provided event.- Parameters:
action
- the action value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
getLocation
public String getLocation()
Get the location property: The location of the event.- Returns:
- the location value.
-
setLocation
public ContainerRegistryArtifactEventData setLocation(String location)
Set the location property: The location of the event.- Parameters:
location
- the location value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
getTarget
public ContainerRegistryArtifactEventTarget getTarget()
Get the target property: The target of the event.- Returns:
- the target value.
-
setTarget
public ContainerRegistryArtifactEventData setTarget(ContainerRegistryArtifactEventTarget target)
Set the target property: The target of the event.- Parameters:
target
- the target value to set.- Returns:
- the ContainerRegistryArtifactEventData 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 ContainerRegistryArtifactEventData 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 ContainerRegistryArtifactEventData object itself.
-
-