Class BaseImageDependency
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.BaseImageDependency
-
public final class BaseImageDependency extends Object
Properties that describe a base image dependency.
-
-
Constructor Summary
Constructors Constructor Description BaseImageDependency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdigest()Get the digest property: The sha256-based digest of the image manifest.Stringregistry()Get the registry property: The registry login server.Stringrepository()Get the repository property: The repository name.Stringtag()Get the tag property: The tag name.BaseImageDependencyTypetype()Get the type property: The type of the base image dependency.voidvalidate()Validates the instance.BaseImageDependencywithDigest(String digest)Set the digest property: The sha256-based digest of the image manifest.BaseImageDependencywithRegistry(String registry)Set the registry property: The registry login server.BaseImageDependencywithRepository(String repository)Set the repository property: The repository name.BaseImageDependencywithTag(String tag)Set the tag property: The tag name.BaseImageDependencywithType(BaseImageDependencyType type)Set the type property: The type of the base image dependency.
-
-
-
Method Detail
-
type
public BaseImageDependencyType type()
Get the type property: The type of the base image dependency.- Returns:
- the type value.
-
withType
public BaseImageDependency withType(BaseImageDependencyType type)
Set the type property: The type of the base image dependency.- Parameters:
type- the type value to set.- Returns:
- the BaseImageDependency object itself.
-
registry
public String registry()
Get the registry property: The registry login server.- Returns:
- the registry value.
-
withRegistry
public BaseImageDependency withRegistry(String registry)
Set the registry property: The registry login server.- Parameters:
registry- the registry value to set.- Returns:
- the BaseImageDependency object itself.
-
repository
public String repository()
Get the repository property: The repository name.- Returns:
- the repository value.
-
withRepository
public BaseImageDependency withRepository(String repository)
Set the repository property: The repository name.- Parameters:
repository- the repository value to set.- Returns:
- the BaseImageDependency object itself.
-
tag
public String tag()
Get the tag property: The tag name.- Returns:
- the tag value.
-
withTag
public BaseImageDependency withTag(String tag)
Set the tag property: The tag name.- Parameters:
tag- the tag value to set.- Returns:
- the BaseImageDependency object itself.
-
digest
public String digest()
Get the digest property: The sha256-based digest of the image manifest.- Returns:
- the digest value.
-
withDigest
public BaseImageDependency withDigest(String digest)
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.
-
-