@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 |
getImageDigest()
The
sha256 digest 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.
|
Long |
getImageSizeInBytes()
The size, in bytes, of the image in the repository.
|
List<String> |
getImageTags()
The list of tags associated with this image.
|
String |
getRegistryId()
The AWS 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 |
setImageDigest(String imageDigest)
The
sha256 digest 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 |
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 |
setRegistryId(String registryId)
The AWS 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; useful for testing and debugging.
|
ImageDetail |
withImageDigest(String imageDigest)
The
sha256 digest 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 |
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 |
withRegistryId(String registryId)
The AWS 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 AWS account ID associated with the registry to which this image belongs.
registryId
- The AWS account ID associated with the registry to which this image belongs.public String getRegistryId()
The AWS account ID associated with the registry to which this image belongs.
public ImageDetail withRegistryId(String registryId)
The AWS account ID associated with the registry to which this image belongs.
registryId
- The AWS 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.
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.
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.
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.
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.
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.
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.