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
@ConstructorProperties(value={"created","id","name","progress","serverId","status","updated"})
protected Image(@Nullable
Date created,
int id,
String name,
@Nullable
Integer progress,
@Nullable
Integer serverId,
@Nullable
ImageStatus status,
@Nullable
Date updated)
builder
public static Image.Builder<?> builder()
toBuilder
public Image.Builder<?> toBuilder()
getCreated
@Nullable
public Date getCreated()
getId
public int getId()
getName
public String getName()
getProgress
@Nullable
public Integer getProgress()
getServerId
@Nullable
public Integer getServerId()
getStatus
@Nullable
public ImageStatus getStatus()
getUpdated
@Nullable
public Date getUpdated()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
string
protected com.google.common.base.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.