public class ContainerRegistryArtifactEventTarget extends Object
| Constructor and Description |
|---|
ContainerRegistryArtifactEventTarget() |
| Modifier and Type | Method and Description |
|---|---|
String |
digest()
Get the digest of the artifact.
|
String |
mediaType()
Get the MIME type of the artifact.
|
String |
name()
Get the name of the artifact.
|
String |
repository()
Get the repository name of the artifact.
|
Long |
size()
Get the size in bytes of the artifact.
|
String |
tag()
Get the tag of the artifact.
|
String |
version()
Get the version of the artifact.
|
ContainerRegistryArtifactEventTarget |
withDigest(String digest)
Set the digest of the artifact.
|
ContainerRegistryArtifactEventTarget |
withMediaType(String mediaType)
Set the MIME type of the artifact.
|
ContainerRegistryArtifactEventTarget |
withName(String name)
Set the name of the artifact.
|
ContainerRegistryArtifactEventTarget |
withRepository(String repository)
Set the repository name of the artifact.
|
ContainerRegistryArtifactEventTarget |
withSize(Long size)
Set the size in bytes of the artifact.
|
ContainerRegistryArtifactEventTarget |
withTag(String tag)
Set the tag of the artifact.
|
ContainerRegistryArtifactEventTarget |
withVersion(String version)
Set the version of the artifact.
|
public ContainerRegistryArtifactEventTarget()
public String mediaType()
public ContainerRegistryArtifactEventTarget withMediaType(String mediaType)
mediaType - the mediaType value to setpublic Long size()
public ContainerRegistryArtifactEventTarget withSize(Long size)
size - the size value to setpublic String digest()
public ContainerRegistryArtifactEventTarget withDigest(String digest)
digest - the digest value to setpublic String repository()
public ContainerRegistryArtifactEventTarget withRepository(String repository)
repository - the repository value to setpublic String tag()
public ContainerRegistryArtifactEventTarget withTag(String tag)
tag - the tag value to setpublic String name()
public ContainerRegistryArtifactEventTarget withName(String name)
name - the name value to setpublic String version()
public ContainerRegistryArtifactEventTarget withVersion(String version)
version - the version 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.
*/