Package com.amazonaws.services.ecr.model
Class ImageIdentifier
- java.lang.Object
-
- com.amazonaws.services.ecr.model.ImageIdentifier
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ImageIdentifier extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageIdentifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageIdentifier
clone()
boolean
equals(Object obj)
String
getImageDigest()
Thesha256
digest of the image manifest.String
getImageTag()
The tag used for the image.int
hashCode()
void
setImageDigest(String imageDigest)
Thesha256
digest of the image manifest.void
setImageTag(String imageTag)
The tag used for the image.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImageIdentifier
withImageDigest(String imageDigest)
Thesha256
digest of the image manifest.ImageIdentifier
withImageTag(String imageTag)
The tag used for the image.
-
-
-
Method Detail
-
setImageDigest
public void setImageDigest(String imageDigest)
The
sha256
digest of the image manifest.- Parameters:
imageDigest
- Thesha256
digest of the image manifest.
-
getImageDigest
public String getImageDigest()
The
sha256
digest of the image manifest.- Returns:
- The
sha256
digest of the image manifest.
-
withImageDigest
public ImageIdentifier withImageDigest(String imageDigest)
The
sha256
digest of the image manifest.- Parameters:
imageDigest
- Thesha256
digest of the image manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setImageTag
public void setImageTag(String imageTag)
The tag used for the image.
- Parameters:
imageTag
- The tag used for the image.
-
getImageTag
public String getImageTag()
The tag used for the image.
- Returns:
- The tag used for the image.
-
withImageTag
public ImageIdentifier withImageTag(String imageTag)
The tag used for the image.
- Parameters:
imageTag
- The tag used for the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImageIdentifier clone()
-
-