org.jclouds.openstack.nova.domain
Class Image
java.lang.Object
org.jclouds.openstack.nova.domain.Resource
org.jclouds.openstack.nova.domain.Image
public class Image
- extends Resource
An image is a collection of files used to create or rebuild a server. Rackspace provides a number
of pre-built OS images by default. You may also create custom images from cloud servers you have
launched. These custom images are useful for backup purposes or for producing gold server images
if you plan to deploy a particular server configuration frequently.
- Author:
- Adrian Cole
Methods inherited from class org.jclouds.openstack.nova.domain.Resource |
getURI |
Image
public Image()
Image
public Image(int id,
String name)
getCreated
public Date getCreated()
getUpdated
public Date getUpdated()
setId
public void setId(int id)
getId
public int getId()
setName
public void setName(String name)
getName
public String getName()
setProgress
public void setProgress(Integer progress)
getProgress
public Integer getProgress()
setServerRef
public void setServerRef(String serverRef)
getServerRef
public String getServerRef()
setStatus
public void setStatus(ImageStatus status)
getStatus
public ImageStatus getStatus()
getMetadata
public Map<String,String> getMetadata()
setMetadata
public void setMetadata(Map<String,String> metadata)
hashCode
public int hashCode()
- note that this ignores some fields
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- note that this ignores some fields
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.