Class ContainerRegistryArtifactEventTarget

java.lang.Object
com.azure.messaging.eventgrid.systemevents.ContainerRegistryArtifactEventTarget

public final class ContainerRegistryArtifactEventTarget extends Object
The target of the event.
  • Constructor Details

    • ContainerRegistryArtifactEventTarget

      public ContainerRegistryArtifactEventTarget()
  • Method Details

    • 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

      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

      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

      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.