Class ContainerRegistryArtifactEventTarget
java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryArtifactEventTarget
The target of the event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the digest property: The digest of the artifact.Get the mediaType property: The MIME type of the artifact.getName()
Get the name property: The name of the artifact.Get the repository property: The repository name of the artifact.getSize()
Get the size property: The size in bytes of the artifact.getTag()
Get the tag property: The tag of the artifact.Get the version property: The version of the artifact.Set the digest property: The digest of the artifact.setMediaType
(String mediaType) Set the mediaType property: The MIME type of the artifact.Set the name property: The name of the artifact.setRepository
(String repository) Set the repository property: The repository name of the artifact.Set the size property: The size in bytes of the artifact.Set the tag property: The tag of the artifact.setVersion
(String version) Set the version property: The version of the artifact.
-
Constructor Details
-
ContainerRegistryArtifactEventTarget
public ContainerRegistryArtifactEventTarget()
-
-
Method Details
-
getMediaType
Get the mediaType property: The MIME type of the artifact.- Returns:
- the mediaType value.
-
setMediaType
Set the mediaType property: The MIME type of the artifact.- Parameters:
mediaType
- the mediaType value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
getSize
Get the size property: The size in bytes of the artifact.- Returns:
- the size value.
-
setSize
Set the size property: The size in bytes of the artifact.- Parameters:
size
- the size value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
getDigest
Get the digest property: The digest of the artifact.- Returns:
- the digest value.
-
setDigest
Set the digest property: The digest of the artifact.- Parameters:
digest
- the digest value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
getRepository
Get the repository property: The repository name of the artifact.- Returns:
- the repository value.
-
setRepository
Set the repository property: The repository name of the artifact.- Parameters:
repository
- the repository value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
getTag
Get the tag property: The tag of the artifact.- Returns:
- the tag value.
-
setTag
Set the tag property: The tag of the artifact.- Parameters:
tag
- the tag value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
getName
Get the name property: The name of the artifact.- Returns:
- the name value.
-
setName
Set the name property: The name of the artifact.- Parameters:
name
- the name value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
getVersion
Get the version property: The version of the artifact.- Returns:
- the version value.
-
setVersion
Set the version property: The version of the artifact.- Parameters:
version
- the version value to set.- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-