Class ServiceOciArtifactEntry


  • public final class ServiceOciArtifactEntry
    extends Object
    An Open Container Initiative (OCI) artifact.
    • Constructor Detail

      • ServiceOciArtifactEntry

        public ServiceOciArtifactEntry()
    • Method Detail

      • loginServer

        public String loginServer()
        Get the loginServer property: The Azure Container Registry login server.
        Returns:
        the loginServer value.
      • withLoginServer

        public ServiceOciArtifactEntry withLoginServer​(String loginServer)
        Set the loginServer property: The Azure Container Registry login server.
        Parameters:
        loginServer - the loginServer value to set.
        Returns:
        the ServiceOciArtifactEntry object itself.
      • imageName

        public String imageName()
        Get the imageName property: The artifact name.
        Returns:
        the imageName value.
      • withImageName

        public ServiceOciArtifactEntry withImageName​(String imageName)
        Set the imageName property: The artifact name.
        Parameters:
        imageName - the imageName value to set.
        Returns:
        the ServiceOciArtifactEntry object itself.
      • digest

        public String digest()
        Get the digest property: The artifact digest.
        Returns:
        the digest value.
      • withDigest

        public ServiceOciArtifactEntry withDigest​(String digest)
        Set the digest property: The artifact digest.
        Parameters:
        digest - the digest value to set.
        Returns:
        the ServiceOciArtifactEntry object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.