/** * <p> * The size, in bytes, of the image in the repository. * </p> * <note> * <p> * Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker * registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it may * return a larger image size than the image sizes returned by <a>DescribeImages</a>. * </p> * </note> * * @param imageSizeInBytes * The size, in bytes, of the image in the repository.</p> <note> * <p> * Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 * Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, * so it may return a larger image size than the image sizes returned by <a>DescribeImages</a>. * </p> * @return Returns a reference to this object so that method calls can be chained together. */ public ImageDetail withImageSizeInBytes(Long imageSizeInBytes) { setImageSizeInBytes(imageSizeInBytes); return this; }
imageDetail.setImageSizeInBytes(context.getUnmarshaller(Long.class).unmarshall(context));
/** * <p> * The size, in bytes, of the image in the repository. * </p> * <note> * <p> * Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker * registry. The output of the <code>docker images</code> command shows the uncompressed image size, so it may * return a larger image size than the image sizes returned by <a>DescribeImages</a>. * </p> * </note> * * @param imageSizeInBytes * The size, in bytes, of the image in the repository.</p> <note> * <p> * Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 * Docker registry. The output of the <code>docker images</code> command shows the uncompressed image size, * so it may return a larger image size than the image sizes returned by <a>DescribeImages</a>. * </p> * @return Returns a reference to this object so that method calls can be chained together. */ public ImageDetail withImageSizeInBytes(Long imageSizeInBytes) { setImageSizeInBytes(imageSizeInBytes); return this; }
imageDetail.setImageSizeInBytes(context.getUnmarshaller(Long.class).unmarshall(context));