Class ContainerRegistryEventTarget

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

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

    • ContainerRegistryEventTarget

      public ContainerRegistryEventTarget()
  • Method Details

    • getMediaType

      public String getMediaType()
      Get the mediaType property: The MIME type of the referenced object.
      Returns:
      the mediaType value.
    • setMediaType

      public ContainerRegistryEventTarget setMediaType(String mediaType)
      Set the mediaType property: The MIME type of the referenced object.
      Parameters:
      mediaType - the mediaType value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.
    • getSize

      public Long getSize()
      Get the size property: The number of bytes of the content. Same as Length field.
      Returns:
      the size value.
    • setSize

      public ContainerRegistryEventTarget setSize(Long size)
      Set the size property: The number of bytes of the content. Same as Length field.
      Parameters:
      size - the size value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.
    • getDigest

      public String getDigest()
      Get the digest property: The digest of the content, as defined by the Registry V2 HTTP API Specification.
      Returns:
      the digest value.
    • setDigest

      public ContainerRegistryEventTarget setDigest(String digest)
      Set the digest property: The digest of the content, as defined by the Registry V2 HTTP API Specification.
      Parameters:
      digest - the digest value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.
    • getLength

      public Long getLength()
      Get the length property: The number of bytes of the content. Same as Size field.
      Returns:
      the length value.
    • setLength

      public ContainerRegistryEventTarget setLength(Long length)
      Set the length property: The number of bytes of the content. Same as Size field.
      Parameters:
      length - the length value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.
    • getRepository

      public String getRepository()
      Get the repository property: The repository name.
      Returns:
      the repository value.
    • setRepository

      public ContainerRegistryEventTarget setRepository(String repository)
      Set the repository property: The repository name.
      Parameters:
      repository - the repository value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.
    • getUrl

      public String getUrl()
      Get the url property: The direct URL to the content.
      Returns:
      the url value.
    • setUrl

      public ContainerRegistryEventTarget setUrl(String url)
      Set the url property: The direct URL to the content.
      Parameters:
      url - the url value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.
    • getTag

      public String getTag()
      Get the tag property: The tag name.
      Returns:
      the tag value.
    • setTag

      public ContainerRegistryEventTarget setTag(String tag)
      Set the tag property: The tag name.
      Parameters:
      tag - the tag value to set.
      Returns:
      the ContainerRegistryEventTarget object itself.