org.jclouds.openstack.glance.v1_0.domain
Class ImageDetails

java.lang.Object
  extended by org.jclouds.openstack.v2_0.domain.Resource
      extended by org.jclouds.openstack.glance.v1_0.domain.Image
          extended by org.jclouds.openstack.glance.v1_0.domain.ImageDetails
All Implemented Interfaces:
Comparable<org.jclouds.openstack.v2_0.domain.Resource>

public class ImageDetails
extends Image

Detailed listing of an Image

Author:
Adrian Cole
See Also:
, ,

Nested Class Summary
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
protected ImageDetails(String id, String name, Set<org.jclouds.openstack.v2_0.domain.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
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 unset
 long getMinRam()
          Note this could be zero if unset
 com.google.common.base.Optional<String> getOwner()
           
 Map<String,String> getProperties()
           
 Image.Status getStatus()
           
 Date getUpdatedAt()
           
 int hashCode()
           
 boolean isPublic()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 ImageDetails.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.openstack.glance.v1_0.domain.Image
getChecksum, getContainerFormat, getDiskFormat, getSize
 
Methods inherited from class org.jclouds.openstack.v2_0.domain.Resource
compareTo, getId, getLinks, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageDetails

@ConstructorProperties(value={"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<org.jclouds.openstack.v2_0.domain.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()
Overrides:
toBuilder in class Image

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()

getProperties

public Map<String,String> getProperties()

hashCode

public int hashCode()
Overrides:
hashCode in class Image

equals

public boolean equals(Object obj)
Overrides:
equals in class Image

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class Image


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.