@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageDetail extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes an image returned by a DescribeImages operation.
Constructor and Description |
---|
ImageDetail() |
Modifier and Type | Method and Description |
---|---|
ImageDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactMediaType()
The artifact media type of the image.
|
String |
getImageDigest()
The
sha256 digest of the image manifest. |
String |
getImageManifestMediaType()
The media type of the image manifest.
|
Date |
getImagePushedAt()
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
ImageScanFindingsSummary |
getImageScanFindingsSummary()
A summary of the last completed image scan.
|
ImageScanStatus |
getImageScanStatus()
The current state of the scan.
|
Long |
getImageSizeInBytes()
The size, in bytes, of the image in the repository.
|
List<String> |
getImageTags()
The list of tags associated with this image.
|
Date |
getLastRecordedPullTime()
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry to which this image belongs.
|
String |
getRepositoryName()
The name of the repository to which this image belongs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArtifactMediaType(String artifactMediaType)
The artifact media type of the image.
|
void |
setImageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
void |
setImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
|
void |
setImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
void |
setImageScanFindingsSummary(ImageScanFindingsSummary imageScanFindingsSummary)
A summary of the last completed image scan.
|
void |
setImageScanStatus(ImageScanStatus imageScanStatus)
The current state of the scan.
|
void |
setImageSizeInBytes(Long imageSizeInBytes)
The size, in bytes, of the image in the repository.
|
void |
setImageTags(Collection<String> imageTags)
The list of tags associated with this image.
|
void |
setLastRecordedPullTime(Date lastRecordedPullTime)
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which this image belongs.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to which this image belongs.
|
String |
toString()
Returns a string representation of this object.
|
ImageDetail |
withArtifactMediaType(String artifactMediaType)
The artifact media type of the image.
|
ImageDetail |
withImageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
ImageDetail |
withImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
|
ImageDetail |
withImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
ImageDetail |
withImageScanFindingsSummary(ImageScanFindingsSummary imageScanFindingsSummary)
A summary of the last completed image scan.
|
ImageDetail |
withImageScanStatus(ImageScanStatus imageScanStatus)
The current state of the scan.
|
ImageDetail |
withImageSizeInBytes(Long imageSizeInBytes)
The size, in bytes, of the image in the repository.
|
ImageDetail |
withImageTags(Collection<String> imageTags)
The list of tags associated with this image.
|
ImageDetail |
withImageTags(String... imageTags)
The list of tags associated with this image.
|
ImageDetail |
withLastRecordedPullTime(Date lastRecordedPullTime)
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
|
ImageDetail |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which this image belongs.
|
ImageDetail |
withRepositoryName(String repositoryName)
The name of the repository to which this image belongs.
|
public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which this image belongs.
registryId
- The Amazon Web Services account ID associated with the registry to which this image belongs.public String getRegistryId()
The Amazon Web Services account ID associated with the registry to which this image belongs.
public ImageDetail withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry to which this image belongs.
registryId
- The Amazon Web Services account ID associated with the registry to which this image belongs.public void setRepositoryName(String repositoryName)
The name of the repository to which this image belongs.
repositoryName
- The name of the repository to which this image belongs.public String getRepositoryName()
The name of the repository to which this image belongs.
public ImageDetail withRepositoryName(String repositoryName)
The name of the repository to which this image belongs.
repositoryName
- The name of the repository to which this image belongs.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 ImageDetail withImageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public List<String> getImageTags()
The list of tags associated with this image.
public void setImageTags(Collection<String> imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.public ImageDetail withImageTags(String... imageTags)
The list of tags associated with this image.
NOTE: This method appends the values to the existing list (if any). Use
setImageTags(java.util.Collection)
or withImageTags(java.util.Collection)
if you want to
override the existing values.
imageTags
- The list of tags associated with this image.public ImageDetail withImageTags(Collection<String> imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.public void setImageSizeInBytes(Long imageSizeInBytes)
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker
registry. The output of the docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by DescribeImages.
imageSizeInBytes
- The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2
Docker registry. The output of the docker images
command shows the uncompressed image size,
so it may return a larger image size than the image sizes returned by DescribeImages.
public Long getImageSizeInBytes()
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker
registry. The output of the docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by DescribeImages.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2
Docker registry. The output of the docker images
command shows the uncompressed image size,
so it may return a larger image size than the image sizes returned by DescribeImages.
public ImageDetail withImageSizeInBytes(Long imageSizeInBytes)
The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker
registry. The output of the docker images
command shows the uncompressed image size, so it may
return a larger image size than the image sizes returned by DescribeImages.
imageSizeInBytes
- The size, in bytes, of the image in the repository.
If the image is a manifest list, this will be the max size of all manifests in the list.
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2
Docker registry. The output of the docker images
command shows the uncompressed image size,
so it may return a larger image size than the image sizes returned by DescribeImages.
public void setImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
imagePushedAt
- The date and time, expressed in standard JavaScript date format, at which the current image was pushed to
the repository.public Date getImagePushedAt()
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
public ImageDetail withImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
imagePushedAt
- The date and time, expressed in standard JavaScript date format, at which the current image was pushed to
the repository.public void setImageScanStatus(ImageScanStatus imageScanStatus)
The current state of the scan.
imageScanStatus
- The current state of the scan.public ImageScanStatus getImageScanStatus()
The current state of the scan.
public ImageDetail withImageScanStatus(ImageScanStatus imageScanStatus)
The current state of the scan.
imageScanStatus
- The current state of the scan.public void setImageScanFindingsSummary(ImageScanFindingsSummary imageScanFindingsSummary)
A summary of the last completed image scan.
imageScanFindingsSummary
- A summary of the last completed image scan.public ImageScanFindingsSummary getImageScanFindingsSummary()
A summary of the last completed image scan.
public ImageDetail withImageScanFindingsSummary(ImageScanFindingsSummary imageScanFindingsSummary)
A summary of the last completed image scan.
imageScanFindingsSummary
- A summary of the last completed image scan.public void setImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
imageManifestMediaType
- The media type of the image manifest.public String getImageManifestMediaType()
The media type of the image manifest.
public ImageDetail withImageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
imageManifestMediaType
- The media type of the image manifest.public void setArtifactMediaType(String artifactMediaType)
The artifact media type of the image.
artifactMediaType
- The artifact media type of the image.public String getArtifactMediaType()
The artifact media type of the image.
public ImageDetail withArtifactMediaType(String artifactMediaType)
The artifact media type of the image.
artifactMediaType
- The artifact media type of the image.public void setLastRecordedPullTime(Date lastRecordedPullTime)
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an
image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that the image
was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the
lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact time
that the image was last pulled.
lastRecordedPullTime
- The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image
pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull
an image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that
the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the
lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact
time that the image was last pulled.
public Date getLastRecordedPullTime()
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an
image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that the image
was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the
lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact time
that the image was last pulled.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull
an image once a day then the lastRecordedPullTime
timestamp will indicate the exact time
that the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes
the lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the
exact time that the image was last pulled.
public ImageDetail withLastRecordedPullTime(Date lastRecordedPullTime)
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull an
image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that the image
was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the
lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact time
that the image was last pulled.
lastRecordedPullTime
- The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image
pull.
Amazon ECR refreshes the last image pull timestamp at least once every 24 hours. For example, if you pull
an image once a day then the lastRecordedPullTime
timestamp will indicate the exact time that
the image was last pulled. However, if you pull an image once an hour, because Amazon ECR refreshes the
lastRecordedPullTime
timestamp at least once every 24 hours, the result may not be the exact
time that the image was last pulled.
public String toString()
toString
in class Object
Object.toString()
public ImageDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.