Class ContainerRegistryArtifactEventTarget
- java.lang.Object
-
- com.microsoft.azure.eventgrid.models.ContainerRegistryArtifactEventTarget
-
public 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 Stringdigest()Get the digest of the artifact.StringmediaType()Get the MIME type of the artifact.Stringname()Get the name of the artifact.Stringrepository()Get the repository name of the artifact.Longsize()Get the size in bytes of the artifact.Stringtag()Get the tag of the artifact.Stringversion()Get the version of the artifact.ContainerRegistryArtifactEventTargetwithDigest(String digest)Set the digest of the artifact.ContainerRegistryArtifactEventTargetwithMediaType(String mediaType)Set the MIME type of the artifact.ContainerRegistryArtifactEventTargetwithName(String name)Set the name of the artifact.ContainerRegistryArtifactEventTargetwithRepository(String repository)Set the repository name of the artifact.ContainerRegistryArtifactEventTargetwithSize(Long size)Set the size in bytes of the artifact.ContainerRegistryArtifactEventTargetwithTag(String tag)Set the tag of the artifact.ContainerRegistryArtifactEventTargetwithVersion(String version)Set the version of the artifact.
-
-
-
Method Detail
-
mediaType
public String mediaType()
Get the MIME type of the artifact.- Returns:
- the mediaType value
-
withMediaType
public ContainerRegistryArtifactEventTarget withMediaType(String mediaType)
Set the MIME type of the artifact.- Parameters:
mediaType- the mediaType value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
size
public Long size()
Get the size in bytes of the artifact.- Returns:
- the size value
-
withSize
public ContainerRegistryArtifactEventTarget withSize(Long size)
Set the size in bytes of the artifact.- Parameters:
size- the size value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
digest
public String digest()
Get the digest of the artifact.- Returns:
- the digest value
-
withDigest
public ContainerRegistryArtifactEventTarget withDigest(String digest)
Set the digest of the artifact.- Parameters:
digest- the digest value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
repository
public String repository()
Get the repository name of the artifact.- Returns:
- the repository value
-
withRepository
public ContainerRegistryArtifactEventTarget withRepository(String repository)
Set the repository name of the artifact.- Parameters:
repository- the repository value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
tag
public String tag()
Get the tag of the artifact.- Returns:
- the tag value
-
withTag
public ContainerRegistryArtifactEventTarget withTag(String tag)
Set the tag of the artifact.- Parameters:
tag- the tag value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
name
public String name()
Get the name of the artifact.- Returns:
- the name value
-
withName
public ContainerRegistryArtifactEventTarget withName(String name)
Set the name of the artifact.- Parameters:
name- the name value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
version
public String version()
Get the version of the artifact.- Returns:
- the version value
-
withVersion
public ContainerRegistryArtifactEventTarget withVersion(String version)
Set the version of the artifact.- Parameters:
version- the version value to set- Returns:
- the ContainerRegistryArtifactEventTarget object itself.
-
-