org.jclouds.cloudservers.domain
Class Flavor

java.lang.Object
  extended by org.jclouds.cloudservers.domain.Flavor

public class Flavor
extends Object

A flavor is an available hardware configuration for a server. Each flavor has a unique combination of disk space and memory capacity.

Author:
Adrian Cole

Constructor Summary
Flavor()
           
Flavor(int id, String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getDisk()
           
 int getId()
           
 String getName()
           
 Integer getRam()
           
 int hashCode()
           
 void setDisk(Integer value)
           
 void setId(int value)
           
 void setName(String value)
           
 void setRam(Integer value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Flavor

public Flavor()

Flavor

public Flavor(int id,
              String name)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getDisk

public Integer getDisk()

setDisk

public void setDisk(Integer value)

getId

public int getId()

setId

public void setId(int value)

getName

public String getName()

setName

public void setName(String value)

getRam

public Integer getRam()

setRam

public void setRam(Integer value)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2009-2012 jclouds. All Rights Reserved.