public class Image
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Object representing an image.
Modifier and Type | Field and Description |
---|---|
private ImageIdentifier |
imageId
An object containing the image tag and image digest associated with an
image.
|
private java.lang.String |
imageManifest
The image manifest associated with the image.
|
private java.lang.String |
registryId
The AWS account ID associated with the registry containing the image.
|
private java.lang.String |
repositoryName
The name of the repository associated with the image.
|
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
boolean |
equals(java.lang.Object obj) |
ImageIdentifier |
getImageId()
An object containing the image tag and image digest associated with an
image.
|
java.lang.String |
getImageManifest()
The image manifest associated with the image.
|
java.lang.String |
getRegistryId()
The AWS account ID associated with the registry containing the image.
|
java.lang.String |
getRepositoryName()
The name of the repository associated with the image.
|
int |
hashCode() |
void |
setImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an
image.
|
void |
setImageManifest(java.lang.String imageManifest)
The image manifest associated with the image.
|
void |
setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry containing the image.
|
void |
setRepositoryName(java.lang.String repositoryName)
The name of the repository associated with the image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Image |
withImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an
image.
|
Image |
withImageManifest(java.lang.String imageManifest)
The image manifest associated with the image.
|
Image |
withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry containing the image.
|
Image |
withRepositoryName(java.lang.String repositoryName)
The name of the repository associated with the image.
|
private java.lang.String registryId
The AWS account ID associated with the registry containing the image.
private java.lang.String repositoryName
The name of the repository associated with the image.
private ImageIdentifier imageId
An object containing the image tag and image digest associated with an image.
private java.lang.String imageManifest
The image manifest associated with the image.
public void setRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry containing the image.
registryId
- The AWS account ID associated with the registry containing the
image.public java.lang.String getRegistryId()
The AWS account ID associated with the registry containing the image.
public Image withRegistryId(java.lang.String registryId)
The AWS account ID associated with the registry containing the image.
registryId
- The AWS account ID associated with the registry containing the
image.public void setRepositoryName(java.lang.String repositoryName)
The name of the repository associated with the image.
repositoryName
- The name of the repository associated with the image.public java.lang.String getRepositoryName()
The name of the repository associated with the image.
public Image withRepositoryName(java.lang.String repositoryName)
The name of the repository associated with the image.
repositoryName
- The name of the repository associated with the image.public void setImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an image.
imageId
- An object containing the image tag and image digest associated
with an image.public ImageIdentifier getImageId()
An object containing the image tag and image digest associated with an image.
public Image withImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an image.
imageId
- An object containing the image tag and image digest associated
with an image.public void setImageManifest(java.lang.String imageManifest)
The image manifest associated with the image.
imageManifest
- The image manifest associated with the image.public java.lang.String getImageManifest()
The image manifest associated with the image.
public Image withImageManifest(java.lang.String imageManifest)
The image manifest associated with the image.
imageManifest
- The image manifest associated with the image.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Image clone()
clone
in class java.lang.Object