Package com.woorea.openstack.nova.model
Class Flavor
- java.lang.Object
-
- com.woorea.openstack.nova.model.Flavor
-
- All Implemented Interfaces:
Serializable
public class Flavor extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Flavor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetDisabled()IntegergetDisk()IntegergetEphemeral()StringgetId()List<Link>getLinks()StringgetName()IntegergetRam()IntegergetRxtxCap()FloatgetRxtxFactor()IntegergetRxtxQuota()StringgetSwap()IntegergetVcpus()BooleanisPublic()voidsetDisabled(Boolean disabled)voidsetDisk(Integer disk)voidsetEphemeral(Integer ephemeral)voidsetId(String id)voidsetLinks(List<Link> links)voidsetName(String name)voidsetPublic(Boolean isPublic)voidsetRam(Integer ram)voidsetRxtxCap(Integer rxtxCap)voidsetRxtxFactor(Float rxtxFactor)voidsetRxtxQuota(Integer rxtxQuota)voidsetSwap(String swap)voidsetVcpus(Integer vcpus)StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id
-
setId
public void setId(String id)
- Parameters:
id- the id to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
getVcpus
public Integer getVcpus()
- Returns:
- the vcpus
-
setVcpus
public void setVcpus(Integer vcpus)
- Parameters:
vcpus- the vcpus to set
-
getRam
public Integer getRam()
- Returns:
- the ram
-
setRam
public void setRam(Integer ram)
- Parameters:
ram- the ram to set
-
getDisk
public Integer getDisk()
- Returns:
- the disk
-
setDisk
public void setDisk(Integer disk)
- Parameters:
disk- the disk to set
-
getEphemeral
public Integer getEphemeral()
- Returns:
- the ephemeral
-
setEphemeral
public void setEphemeral(Integer ephemeral)
- Parameters:
ephemeral- the ephemeral to set
-
getSwap
public String getSwap()
- Returns:
- the swap
-
setSwap
public void setSwap(String swap)
- Parameters:
swap- the swap to set
-
getRxtxFactor
public Float getRxtxFactor()
- Returns:
- the rxtxFactor
-
setRxtxFactor
public void setRxtxFactor(Float rxtxFactor)
- Parameters:
rxtxFactor- the rxtxFactor to set
-
getRxtxQuota
public Integer getRxtxQuota()
- Returns:
- the rxtxQuota
-
setRxtxQuota
public void setRxtxQuota(Integer rxtxQuota)
- Parameters:
rxtxQuota- the rxtxQuota to set
-
getRxtxCap
public Integer getRxtxCap()
- Returns:
- the rxtxCap
-
setRxtxCap
public void setRxtxCap(Integer rxtxCap)
- Parameters:
rxtxCap- the rxtxCap to set
-
getDisabled
public Boolean getDisabled()
- Returns:
- the disabled
-
setDisabled
public void setDisabled(Boolean disabled)
- Parameters:
disabled- the disabled to set
-
isPublic
public Boolean isPublic()
- Returns:
- the isPublic
-
setPublic
public void setPublic(Boolean isPublic)
- Parameters:
isPublic- the isPublic to set
-
-