@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
An object with identifying information for an image in an Amazon ECR repository.
Constructor and Description |
---|
ImageIdentifier() |
Modifier and Type | Method and Description |
---|---|
ImageIdentifier |
clone() |
boolean |
equals(Object obj) |
String |
getImageDigest()
The
sha256 digest of the image manifest. |
String |
getImageTag()
The tag used for the image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
void |
setImageTag(String imageTag)
The tag used for the image.
|
String |
toString()
Returns a string representation of this object.
|
ImageIdentifier |
withImageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
ImageIdentifier |
withImageTag(String imageTag)
The tag used for the image.
|
public void setImageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public String getImageDigest()
The sha256
digest of the image manifest.
sha256
digest of the image manifest.public ImageIdentifier withImageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public void setImageTag(String imageTag)
The tag used for the image.
imageTag
- The tag used for the image.public String getImageTag()
The tag used for the image.
public ImageIdentifier withImageTag(String imageTag)
The tag used for the image.
imageTag
- The tag used for the image.public String toString()
toString
in class Object
Object.toString()
public ImageIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.