I
InsightNexus

ContainerRegistryEventTarget (Azure SDK for Java Reference Documentation)

Author

Jessica Wood

Published Feb 16, 2026

ContainerRegistryEventTarget (Azure SDK for Java Reference Documentation)
  • java.lang.Object
    • com.azure.messaging.eventgrid.systemevents.ContainerRegistryEventTarget


  • public final class ContainerRegistryEventTargetextends Object

    The ContainerRegistryEventTarget model.

    • Constructor Detail

    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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.

Copyright © 2020 Microsoft Corporation. All rights reserved.