public static interface ImageDetail.Builder extends SdkPojo, CopyableBuilder<ImageDetail.Builder,ImageDetail>
Modifier and Type | Method and Description |
---|---|
ImageDetail.Builder |
artifactMediaType(String artifactMediaType)
The artifact media type of the image.
|
ImageDetail.Builder |
imageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
ImageDetail.Builder |
imageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
|
ImageDetail.Builder |
imagePushedAt(Instant imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
default ImageDetail.Builder |
imageScanFindingsSummary(Consumer<ImageScanFindingsSummary.Builder> imageScanFindingsSummary)
A summary of the last completed image scan.
|
ImageDetail.Builder |
imageScanFindingsSummary(ImageScanFindingsSummary imageScanFindingsSummary)
A summary of the last completed image scan.
|
default ImageDetail.Builder |
imageScanStatus(Consumer<ImageScanStatus.Builder> imageScanStatus)
The current state of the scan.
|
ImageDetail.Builder |
imageScanStatus(ImageScanStatus imageScanStatus)
The current state of the scan.
|
ImageDetail.Builder |
imageSizeInBytes(Long imageSizeInBytes)
The size, in bytes, of the image in the repository.
|
ImageDetail.Builder |
imageTags(Collection<String> imageTags)
The list of tags associated with this image.
|
ImageDetail.Builder |
imageTags(String... imageTags)
The list of tags associated with this image.
|
ImageDetail.Builder |
lastRecordedPullTime(Instant lastRecordedPullTime)
The date and time, expressed in standard JavaScript date format, when Amazon ECR recorded the last image
pull.
|
ImageDetail.Builder |
registryId(String registryId)
The Amazon Web Services account ID associated with the registry to which this image belongs.
|
ImageDetail.Builder |
repositoryName(String repositoryName)
The name of the repository to which this image belongs.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ImageDetail.Builder registryId(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.ImageDetail.Builder repositoryName(String repositoryName)
The name of the repository to which this image belongs.
repositoryName
- The name of the repository to which this image belongs.ImageDetail.Builder imageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.ImageDetail.Builder imageTags(Collection<String> imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.ImageDetail.Builder imageTags(String... imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.ImageDetail.Builder imageSizeInBytes(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.
ImageDetail.Builder imagePushedAt(Instant 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.ImageDetail.Builder imageScanStatus(ImageScanStatus imageScanStatus)
The current state of the scan.
imageScanStatus
- The current state of the scan.default ImageDetail.Builder imageScanStatus(Consumer<ImageScanStatus.Builder> imageScanStatus)
The current state of the scan.
This is a convenience method that creates an instance of theImageScanStatus.Builder
avoiding the
need to create one manually via ImageScanStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to imageScanStatus(ImageScanStatus)
.
imageScanStatus
- a consumer that will call methods on ImageScanStatus.Builder
imageScanStatus(ImageScanStatus)
ImageDetail.Builder imageScanFindingsSummary(ImageScanFindingsSummary imageScanFindingsSummary)
A summary of the last completed image scan.
imageScanFindingsSummary
- A summary of the last completed image scan.default ImageDetail.Builder imageScanFindingsSummary(Consumer<ImageScanFindingsSummary.Builder> imageScanFindingsSummary)
A summary of the last completed image scan.
This is a convenience method that creates an instance of theImageScanFindingsSummary.Builder
avoiding the need to create one manually via ImageScanFindingsSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to imageScanFindingsSummary(ImageScanFindingsSummary)
.
imageScanFindingsSummary
- a consumer that will call methods on ImageScanFindingsSummary.Builder
imageScanFindingsSummary(ImageScanFindingsSummary)
ImageDetail.Builder imageManifestMediaType(String imageManifestMediaType)
The media type of the image manifest.
imageManifestMediaType
- The media type of the image manifest.ImageDetail.Builder artifactMediaType(String artifactMediaType)
The artifact media type of the image.
artifactMediaType
- The artifact media type of the image.ImageDetail.Builder lastRecordedPullTime(Instant 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.
Copyright © 2023. All rights reserved.