Class BaseImageDependency
java.lang.Object
com.azure.resourcemanager.containerregistry.models.BaseImageDependency
Properties that describe a base image dependency.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondigest()Get the digest property: The sha256-based digest of the image manifest.registry()Get the registry property: The registry login server.Get the repository property: The repository name.tag()Get the tag property: The tag name.type()Get the type property: The type of the base image dependency.voidvalidate()Validates the instance.withDigest(String digest) Set the digest property: The sha256-based digest of the image manifest.withRegistry(String registry) Set the registry property: The registry login server.withRepository(String repository) Set the repository property: The repository name.Set the tag property: The tag name.Set the type property: The type of the base image dependency.
-
Constructor Details
-
BaseImageDependency
public BaseImageDependency()Creates an instance of BaseImageDependency class.
-
-
Method Details
-
type
Get the type property: The type of the base image dependency.- Returns:
- the type value.
-
withType
Set the type property: The type of the base image dependency.- Parameters:
type- the type value to set.- Returns:
- the BaseImageDependency object itself.
-
registry
Get the registry property: The registry login server.- Returns:
- the registry value.
-
withRegistry
Set the registry property: The registry login server.- Parameters:
registry- the registry value to set.- Returns:
- the BaseImageDependency object itself.
-
repository
Get the repository property: The repository name.- Returns:
- the repository value.
-
withRepository
Set the repository property: The repository name.- Parameters:
repository- the repository value to set.- Returns:
- the BaseImageDependency object itself.
-
tag
Get the tag property: The tag name.- Returns:
- the tag value.
-
withTag
Set the tag property: The tag name.- Parameters:
tag- the tag value to set.- Returns:
- the BaseImageDependency object itself.
-
digest
Get the digest property: The sha256-based digest of the image manifest.- Returns:
- the digest value.
-
withDigest
Set the digest property: The sha256-based digest of the image manifest.- Parameters:
digest- the digest value to set.- Returns:
- the BaseImageDependency object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-