Class ReferencedImageDetail
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReferencedImageDetail.Builder,
ReferencedImageDetail>
An object that describes the image tag details that are returned by a DescribeImageTags action.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
The artifact media type of the image.builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
Thesha256
digest of the image manifest.final String
The media type of the image manifest.final Instant
The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.final Long
The size, in bytes, of the image in the repository.static Class
<? extends ReferencedImageDetail.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
imageDigest
The
sha256
digest of the image manifest.- Returns:
- The
sha256
digest of the image manifest.
-
imageSizeInBytes
The size, in bytes, of the image in the repository.
If the image is a manifest list, this is 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 might return a larger image size than the image sizes that are returned by DescribeImages.- Returns:
- The size, in bytes, of the image in the repository.
If the image is a manifest list, this is 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 might return a larger image size than the image sizes that are returned by DescribeImages.
-
imagePushedAt
The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.
- Returns:
- The date and time, expressed in standard JavaScript date format, which the current image tag was pushed to the repository at.
-
imageManifestMediaType
The media type of the image manifest.
- Returns:
- The media type of the image manifest.
-
artifactMediaType
The artifact media type of the image.
- Returns:
- The artifact media type of the image.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReferencedImageDetail.Builder,
ReferencedImageDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-