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 ImageIdentifierclone()booleanequals(Object obj)StringgetImageDigest()Thesha256digest of the image manifest.StringgetImageTag()The tag used for the image.inthashCode()voidsetImageDigest(String imageDigest)Thesha256digest of the image manifest.voidsetImageTag(String imageTag)The tag used for the image.StringtoString()Returns a string representation of this object; useful for testing and debugging.ImageIdentifierwithImageDigest(String imageDigest)Thesha256digest of the image manifest.ImageIdentifierwithImageTag(String imageTag)The tag used for the image.
-
-
-
Method Detail
-
setImageDigest
public void setImageDigest(String imageDigest)
The
sha256digest of the image manifest.- Parameters:
imageDigest- Thesha256digest of the image manifest.
-
getImageDigest
public String getImageDigest()
The
sha256digest of the image manifest.- Returns:
- The
sha256digest of the image manifest.
-
withImageDigest
public ImageIdentifier withImageDigest(String imageDigest)
The
sha256digest of the image manifest.- Parameters:
imageDigest- Thesha256digest 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImageIdentifier clone()
-
-