Class ContainerRegistryChartPushedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryArtifactEventData
com.azure.messaging.eventgrid.systemevents.ContainerRegistryChartPushedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet the action property: The action that encompasses the provided 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.Set the target property: The target of the event.setTimestamp
(OffsetDateTime timestamp) Set the timestamp property: The time at which the event occurred.Methods inherited from class com.azure.messaging.eventgrid.systemevents.ContainerRegistryArtifactEventData
getAction, getConnectedRegistry, getId, getLocation, getTarget, getTimestamp
-
Constructor Details
-
ContainerRegistryChartPushedEventData
public ContainerRegistryChartPushedEventData()
-
-
Method Details
-
setId
Set the id property: The event ID.- Overrides:
setId
in classContainerRegistryArtifactEventData
- Parameters:
id
- the id value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
setTimestamp
Set the timestamp property: The time at which the event occurred.- Overrides:
setTimestamp
in classContainerRegistryArtifactEventData
- Parameters:
timestamp
- the timestamp value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
setAction
Set the action property: The action that encompasses the provided event.- Overrides:
setAction
in classContainerRegistryArtifactEventData
- Parameters:
action
- the action value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
setLocation
Set the location property: The location of the event.- Overrides:
setLocation
in classContainerRegistryArtifactEventData
- Parameters:
location
- the location value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
setTarget
Set the target property: The target of the event.- Overrides:
setTarget
in classContainerRegistryArtifactEventData
- Parameters:
target
- the target value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
setConnectedRegistry
public ContainerRegistryChartPushedEventData setConnectedRegistry(ContainerRegistryEventConnectedRegistry connectedRegistry) Set the connectedRegistry property: The connected registry information if the event is generated by a connected registry.- Overrides:
setConnectedRegistry
in classContainerRegistryArtifactEventData
- Parameters:
connectedRegistry
- the connectedRegistry value to set.- Returns:
- the ContainerRegistryArtifactEventData object itself.
-