Class ContainerRegistryArtifactEventTarget


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

      • ContainerRegistryArtifactEventTarget

        public ContainerRegistryArtifactEventTarget()
    • 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.