Class ImageDetails
- java.lang.Object
-
- org.jclouds.openstack.v2_0.domain.Resource
-
- org.jclouds.openstack.glance.v1_0.domain.Image
-
- org.jclouds.openstack.glance.v1_0.domain.ImageDetails
-
- All Implemented Interfaces:
Comparable<Resource>
public class ImageDetails extends Image
Detailed listing of an Image
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImageDetails.Builder<T extends ImageDetails.Builder<T>>
-
Nested classes/interfaces inherited from class org.jclouds.openstack.glance.v1_0.domain.Image
Image.Status
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ImageDetails(String id, String name, Set<Link> links, ContainerFormat containerFormat, DiskFormat diskFormat, Long size, String checksum, long minDisk, long minRam, String location, String owner, Date updatedAt, Date createdAt, Date deletedAt, Image.Status status, boolean isPublic, Map<String,String> properties)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageDetails.Builder<?>
builder()
boolean
equals(Object obj)
Date
getCreatedAt()
com.google.common.base.Optional<Date>
getDeletedAt()
com.google.common.base.Optional<String>
getLocation()
long
getMinDisk()
Note this could be zero if unsetlong
getMinRam()
Note this could be zero if unsetcom.google.common.base.Optional<String>
getOwner()
Map<String,String>
getProperties()
Image.Status
getStatus()
Date
getUpdatedAt()
int
hashCode()
boolean
isPublic()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
ImageDetails.Builder<?>
toBuilder()
-
Methods inherited from class org.jclouds.openstack.glance.v1_0.domain.Image
getChecksum, getContainerFormat, getDiskFormat, getSize
-
-
-
-
Constructor Detail
-
ImageDetails
@ConstructorProperties({"id","name","links","container_format","disk_format","size","checksum","min_disk","min_ram","location","owner","updated_at","created_at","deleted_at","status","is_public","properties"}) protected ImageDetails(String id, @Nullable String name, Set<Link> links, @Nullable ContainerFormat containerFormat, @Nullable DiskFormat diskFormat, @Nullable Long size, @Nullable String checksum, long minDisk, long minRam, @Nullable String location, @Nullable String owner, Date updatedAt, Date createdAt, @Nullable Date deletedAt, Image.Status status, boolean isPublic, Map<String,String> properties)
-
-
Method Detail
-
builder
public static ImageDetails.Builder<?> builder()
-
toBuilder
public ImageDetails.Builder<?> toBuilder()
-
getMinDisk
public long getMinDisk()
Note this could be zero if unset
-
getMinRam
public long getMinRam()
Note this could be zero if unset
-
getLocation
public com.google.common.base.Optional<String> getLocation()
-
getOwner
public com.google.common.base.Optional<String> getOwner()
-
getUpdatedAt
public Date getUpdatedAt()
-
getCreatedAt
public Date getCreatedAt()
-
getDeletedAt
public com.google.common.base.Optional<Date> getDeletedAt()
-
getStatus
public Image.Status getStatus()
-
isPublic
public boolean isPublic()
-
-