public class ContainerRegistryEventData extends Object
| Constructor and Description |
|---|
ContainerRegistryEventData() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get the action that encompasses the provided event.
|
ContainerRegistryEventActor |
actor()
Get the agent that initiated the event.
|
String |
id()
Get the event ID.
|
ContainerRegistryEventRequest |
request()
Get the request that generated the event.
|
ContainerRegistryEventSource |
source()
Get the registry node that generated the event.
|
ContainerRegistryEventTarget |
target()
Get the target of the event.
|
org.joda.time.DateTime |
timestamp()
Get the time at which the event occurred.
|
ContainerRegistryEventData |
withAction(String action)
Set the action that encompasses the provided event.
|
ContainerRegistryEventData |
withActor(ContainerRegistryEventActor actor)
Set the agent that initiated the event.
|
ContainerRegistryEventData |
withId(String id)
Set the event ID.
|
ContainerRegistryEventData |
withRequest(ContainerRegistryEventRequest request)
Set the request that generated the event.
|
ContainerRegistryEventData |
withSource(ContainerRegistryEventSource source)
Set the registry node that generated the event.
|
ContainerRegistryEventData |
withTarget(ContainerRegistryEventTarget target)
Set the target of the event.
|
ContainerRegistryEventData |
withTimestamp(org.joda.time.DateTime timestamp)
Set the time at which the event occurred.
|
public String id()
public ContainerRegistryEventData withId(String id)
id - the id value to setpublic org.joda.time.DateTime timestamp()
public ContainerRegistryEventData withTimestamp(org.joda.time.DateTime timestamp)
timestamp - the timestamp value to setpublic String action()
public ContainerRegistryEventData withAction(String action)
action - the action value to setpublic ContainerRegistryEventTarget target()
public ContainerRegistryEventData withTarget(ContainerRegistryEventTarget target)
target - the target value to setpublic ContainerRegistryEventRequest request()
public ContainerRegistryEventData withRequest(ContainerRegistryEventRequest request)
request - the request value to setpublic ContainerRegistryEventActor actor()
public ContainerRegistryEventData withActor(ContainerRegistryEventActor actor)
actor - the actor value to setpublic ContainerRegistryEventSource source()
public ContainerRegistryEventData withSource(ContainerRegistryEventSource source)
source - the source value to set /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/