Class EventContent
java.lang.Object
com.microsoft.azure.management.containerregistry.EventContent
The content of the event request message.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the action that encompasses the provided event.actor()
Get the agent that initiated the event.id()
Get the event ID.request()
Get the request that generated the event.source()
Get the registry node that generated the event.target()
Get the target of the event.org.joda.time.DateTime
Get the time at which the event occurred.withAction
(String action) Set the action that encompasses the provided event.Set the agent that initiated the event.Set the event ID.withRequest
(Request request) Set the request that generated the event.withSource
(Source source) Set the registry node that generated the event.withTarget
(Target target) Set the target of the event.withTimestamp
(org.joda.time.DateTime timestamp) Set the time at which the event occurred.
-
Constructor Details
-
EventContent
public EventContent()
-
-
Method Details
-
id
Get the event ID.- Returns:
- the id value
-
withId
Set the event ID.- Parameters:
id
- the id value to set- Returns:
- the EventContent object itself.
-
timestamp
public org.joda.time.DateTime timestamp()Get the time at which the event occurred.- Returns:
- the timestamp value
-
withTimestamp
Set the time at which the event occurred.- Parameters:
timestamp
- the timestamp value to set- Returns:
- the EventContent object itself.
-
action
Get the action that encompasses the provided event.- Returns:
- the action value
-
withAction
Set the action that encompasses the provided event.- Parameters:
action
- the action value to set- Returns:
- the EventContent object itself.
-
target
Get the target of the event.- Returns:
- the target value
-
withTarget
Set the target of the event.- Parameters:
target
- the target value to set- Returns:
- the EventContent object itself.
-
request
Get the request that generated the event.- Returns:
- the request value
-
withRequest
Set the request that generated the event.- Parameters:
request
- the request value to set- Returns:
- the EventContent object itself.
-
actor
Get the agent that initiated the event. For most situations, this could be from the authorization context of the request.- Returns:
- the actor value
-
withActor
Set 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 EventContent object itself.
-
source
Get the registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.- Returns:
- the source value
-
withSource
Set 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 EventContent object itself.
-