org.jclouds.deltacloud.domain
Class Image

java.lang.Object
  extended by org.jclouds.deltacloud.domain.Image

public class Image
extends Object

An image is a platonic form of a machine. Images are not directly executable, but are a template for creating actual instances of machines.

Author:
Adrian Cole

Constructor Summary
Image(URI href, String id, String ownerId, String name, String description, String architecture)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getArchitecture()
           
 String getDescription()
           
 URI getHref()
           
 String getId()
           
 String getName()
           
 String getOwnerId()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image

public Image(URI href,
             String id,
             String ownerId,
             @Nullable
             String name,
             String description,
             String architecture)
Method Detail

getHref

public URI getHref()
Returns:
URL to manipulate a specific image

getId

public String getId()
Returns:
A unique identifier for the image

getOwnerId

public String getOwnerId()
Returns:
An opaque identifier which indicates the owner of an image

getName

@Nullable
public String getName()
Returns:
An optional short label describing the image

getDescription

@Nullable
public String getDescription()
Returns:
An optional description describing the image more fully

getArchitecture

public String getArchitecture()
Returns:
A description of the machine architecture of the image which may contain values such as: i386, x86_64

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2011 jclouds. All Rights Reserved.