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