org.jclouds.cloudservers.domain
Class Image
java.lang.Object
org.jclouds.cloudservers.domain.Image
public class Image
- extends Object
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
Image
public Image()
Image
public Image(int id,
String name)
setCreated
public void setCreated(Date created)
getCreated
public Date getCreated()
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()
setServerId
public void setServerId(Integer serverId)
getServerId
public Integer getServerId()
setStatus
public void setStatus(ImageStatus status)
getStatus
public ImageStatus getStatus()
setUpdated
public void setUpdated(Date updated)
getUpdated
public Date getUpdated()
hashCode
public int hashCode()
- note that this ignores the create time
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- note that this ignores the serverid and create time.
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.