Class ServiceOciArtifactEntry
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ServiceOciArtifactEntry
-
public final class ServiceOciArtifactEntry extends Object
An Open Container Initiative (OCI) artifact.
-
-
Constructor Summary
Constructors Constructor Description ServiceOciArtifactEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
digest()
Get the digest property: The artifact digest.String
imageName()
Get the imageName property: The artifact name.String
loginServer()
Get the loginServer property: The Azure Container Registry login server.void
validate()
Validates the instance.ServiceOciArtifactEntry
withDigest(String digest)
Set the digest property: The artifact digest.ServiceOciArtifactEntry
withImageName(String imageName)
Set the imageName property: The artifact name.ServiceOciArtifactEntry
withLoginServer(String loginServer)
Set the loginServer property: The Azure Container Registry login server.
-
-
-
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.
-
-