@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Image extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an Amazon ECR image.
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
Image |
clone() |
boolean |
equals(Object obj) |
ImageIdentifier |
getImageId()
An object containing the image tag and image digest associated with an image.
|
String |
getImageManifest()
The image manifest associated with the image.
|
String |
getImageManifestMediaType()
The manifest media type of the image.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry containing the image.
|
String |
getRepositoryName()
The name of the repository associated with the image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an image.
|
void |
setImageManifest(String imageManifest)
The image manifest associated with the image.
|
void |
setImageManifestMediaType(String imageManifestMediaType)
The manifest media type of the image.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry containing the image.
|
void |
setRepositoryName(String repositoryName)
The name of the repository associated with the image.
|
String |
toString()
Returns a string representation of this object.
|
Image |
withImageId(ImageIdentifier imageId)
An object containing the image tag and image digest associated with an image.
|
Image |
withImageManifest(String imageManifest)
The image manifest associated with the image.
|
Image |
withImageManifestMediaType(String imageManifestMediaType)
The manifest media type of the image.
|
Image |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry containing the image.
|
Image |
withRepositoryName(String repositoryName)
The name of the repository associated with the image.
|
public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry containing the image.
registryId
- The Amazon Web Services account ID associated with the registry containing the image.public String getRegistryId()
The Amazon Web Services account ID associated with the registry containing the image.
public Image withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry containing the image.
registryId
- The Amazon Web Services account ID associated with the registry containing the image.public void setRepositoryName(String repositoryName)
The name of the repository associated with the image.
repositoryName
- The name of the repository associated with the image.public String getRepositoryName()
The name of the repository associated with the image.
public Image withRepositoryName(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(String imageManifest)
The image manifest associated with the image.
imageManifest
- The image manifest associated with the image.public String getImageManifest()
The image manifest associated with the image.
public Image withImageManifest(String imageManifest)
The image manifest associated with the image.
imageManifest
- The image manifest associated with the image.public void setImageManifestMediaType(String imageManifestMediaType)
The manifest media type of the image.
imageManifestMediaType
- The manifest media type of the image.public String getImageManifestMediaType()
The manifest media type of the image.
public Image withImageManifestMediaType(String imageManifestMediaType)
The manifest media type of the image.
imageManifestMediaType
- The manifest media type of the image.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.