public class ContainerRegistryArtifactEventData extends Object
| Constructor and Description |
|---|
ContainerRegistryArtifactEventData() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get the action that encompasses the provided event.
|
String |
id()
Get the event ID.
|
ContainerRegistryArtifactEventTarget |
target()
Get the target of the event.
|
org.joda.time.DateTime |
timestamp()
Get the time at which the event occurred.
|
ContainerRegistryArtifactEventData |
withAction(String action)
Set the action that encompasses the provided event.
|
ContainerRegistryArtifactEventData |
withId(String id)
Set the event ID.
|
ContainerRegistryArtifactEventData |
withTarget(ContainerRegistryArtifactEventTarget target)
Set the target of the event.
|
ContainerRegistryArtifactEventData |
withTimestamp(org.joda.time.DateTime timestamp)
Set the time at which the event occurred.
|
public String id()
public ContainerRegistryArtifactEventData withId(String id)
id - the id value to setpublic org.joda.time.DateTime timestamp()
public ContainerRegistryArtifactEventData withTimestamp(org.joda.time.DateTime timestamp)
timestamp - the timestamp value to setpublic String action()
public ContainerRegistryArtifactEventData withAction(String action)
action - the action value to setpublic ContainerRegistryArtifactEventTarget target()
public ContainerRegistryArtifactEventData withTarget(ContainerRegistryArtifactEventTarget target)
target - the target 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.
*/