public class ImageIdentifier
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
imageDigest
The
sha256 digest of the image manifest. |
private java.lang.String |
imageTag
The tag used for the image.
|
Constructor and Description |
---|
ImageIdentifier() |
Modifier and Type | Method and Description |
---|---|
ImageIdentifier |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getImageDigest()
The
sha256 digest of the image manifest. |
java.lang.String |
getImageTag()
The tag used for the image.
|
int |
hashCode() |
void |
setImageDigest(java.lang.String imageDigest)
The
sha256 digest of the image manifest. |
void |
setImageTag(java.lang.String imageTag)
The tag used for the image.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImageIdentifier |
withImageDigest(java.lang.String imageDigest)
The
sha256 digest of the image manifest. |
ImageIdentifier |
withImageTag(java.lang.String imageTag)
The tag used for the image.
|
private java.lang.String imageDigest
The sha256
digest of the image manifest.
private java.lang.String imageTag
The tag used for the image.
public void setImageDigest(java.lang.String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public java.lang.String getImageDigest()
The sha256
digest of the image manifest.
sha256
digest of the image manifest.public ImageIdentifier withImageDigest(java.lang.String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public void setImageTag(java.lang.String imageTag)
The tag used for the image.
imageTag
- The tag used for the image.public java.lang.String getImageTag()
The tag used for the image.
public ImageIdentifier withImageTag(java.lang.String imageTag)
The tag used for the image.
imageTag
- The tag used for 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 ImageIdentifier clone()
clone
in class java.lang.Object