Class ContainerRegistryArtifactEventData
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.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 Stringaction()Get the action that encompasses the provided event.Stringid()Get the event ID.ContainerRegistryArtifactEventTargettarget()Get the target of the event.org.joda.time.DateTimetimestamp()Get the time at which the event occurred.ContainerRegistryArtifactEventDatawithAction(String action)Set the action that encompasses the provided event.ContainerRegistryArtifactEventDatawithId(String id)Set the event ID.ContainerRegistryArtifactEventDatawithTarget(ContainerRegistryArtifactEventTarget target)Set the target of the event.ContainerRegistryArtifactEventDatawithTimestamp(org.joda.time.DateTime timestamp)Set the time at which the event occurred.
-
-
-
Method Detail
-
id
public String id()
Get the event ID.- Returns:
- the id value
-
withId
public ContainerRegistryArtifactEventData withId(String id)
Set the event ID.- Parameters:
id- the id value to set- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
timestamp
public org.joda.time.DateTime timestamp()
Get the time at which the event occurred.- Returns:
- the timestamp value
-
withTimestamp
public ContainerRegistryArtifactEventData withTimestamp(org.joda.time.DateTime timestamp)
Set the time at which the event occurred.- Parameters:
timestamp- the timestamp value to set- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
action
public String action()
Get the action that encompasses the provided event.- Returns:
- the action value
-
withAction
public ContainerRegistryArtifactEventData withAction(String action)
Set the action that encompasses the provided event.- Parameters:
action- the action value to set- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
target
public ContainerRegistryArtifactEventTarget target()
Get the target of the event.- Returns:
- the target value
-
withTarget
public ContainerRegistryArtifactEventData withTarget(ContainerRegistryArtifactEventTarget target)
Set the target of the event.- Parameters:
target- the target value to set- Returns:
- the ContainerRegistryArtifactEventData object itself.
-
-