public class VMMeteringEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BM_SERVER_TYPE |
static int |
TYPE_METERING_END |
static int |
TYPE_METERING_ON_GOING |
static int |
TYPE_METERING_START |
static int |
VM_TYPE |
Constructor and Description |
---|
VMMeteringEntry() |
Modifier and Type | Method and Description |
---|---|
double |
getAllocCpuGhz() |
double |
getAllocMemGB() |
int |
getCatalogId() |
int |
getCategoryId() |
java.lang.String |
getCloudName() |
double |
getCommittedDiskGB() |
int |
getCpuCores() |
short |
getDay() |
int |
getGroupId() |
short |
getHour() |
int |
getId() |
short |
getMonth() |
double |
getNetRxUsageKB() |
double |
getNetTxUsageKB() |
double |
getReservedCpuGhz() |
double |
getReservedMemoryGB() |
java.lang.String |
getResourceId() |
int |
getResourceType() |
double |
getSnapshotFilesMB() |
long |
getTime() |
int |
getType() |
java.lang.String |
getTypeAsString() |
double |
getUncommittedDiskGB() |
double |
getUsedCpuGhz() |
double |
getUsedMemoryGB() |
int |
getVdcId() |
int |
getVmId() |
short |
getYear() |
boolean |
isActive() |
boolean |
isHalfLengthBlade() |
void |
setActive(boolean isActive) |
void |
setAllocCpuGhz(double allocCpuGhz) |
void |
setAllocMemGB(double allocMemGB) |
void |
setCatalogId(int catalogId) |
void |
setCategoryId(int categoryId) |
void |
setCloudName(java.lang.String cloudName) |
void |
setCommittedDiskGB(double allocDiskGB) |
void |
setCpuCores(int cpuCores) |
void |
setDay(short day) |
void |
setGroupId(int groupId) |
void |
setHalfLengthBlade(boolean halfLengthBlade) |
void |
setHour(short hour) |
void |
setId(int id) |
void |
setMonth(short month) |
void |
setNetRxUsageKB(double netRxUsageKB) |
void |
setNetTxUsageKB(double netTxUsageKB) |
void |
setReservedCpuGhz(double reservedCpuGhz) |
void |
setReservedMemoryGB(double reservedMemoryGB) |
void |
setResourceId(java.lang.String resourceId) |
void |
setResourceType(int resourceType) |
void |
setSnapshotFilesMB(double snapshotFilesMB) |
void |
setTime(long time) |
void |
setType(int type) |
void |
setUncommittedDiskGB(double uncommittedDiskGB) |
void |
setUsedCpuGhz(double usedCpuGhz) |
void |
setUsedMemoryGB(double usedMemoryGB) |
void |
setVdcId(int vdcId) |
void |
setVmId(int vmId) |
void |
setYear(short year) |
public static final int TYPE_METERING_ON_GOING
public static final int TYPE_METERING_START
public static final int TYPE_METERING_END
public static final int VM_TYPE
public static final int BM_SERVER_TYPE
public java.lang.String getCloudName()
public int getVmId()
public int getGroupId()
public short getYear()
public short getMonth()
public short getDay()
public short getHour()
public boolean isActive()
public double getAllocCpuGhz()
public double getAllocMemGB()
public void setCloudName(java.lang.String cloudName)
cloudName
- the cloudName to setpublic void setVmId(int vmId)
vmId
- the vmId to setpublic void setGroupId(int groupId)
groupId
- the groupId to setpublic void setYear(short year)
year
- the year to setpublic void setMonth(short month)
month
- the month to setpublic void setDay(short day)
day
- the day to setpublic void setHour(short hour)
hour
- the hour to setpublic void setActive(boolean isActive)
isActive
- the isActive to setpublic void setAllocCpuGhz(double allocCpuGhz)
allocCpuGhz
- the allocCpuGhz to setpublic void setAllocMemGB(double allocMemGB)
allocMemGB
- the allocMemGB to setpublic void setCommittedDiskGB(double allocDiskGB)
allocDiskGB
- the allocDiskGB to setpublic double getCommittedDiskGB()
public double getUncommittedDiskGB()
public void setUncommittedDiskGB(double uncommittedDiskGB)
uncommittedDiskGB
- the uncommittedDiskGB to setpublic double getReservedCpuGhz()
public double getReservedMemoryGB()
public double getUsedCpuGhz()
public double getUsedMemoryGB()
public void setReservedCpuGhz(double reservedCpuGhz)
reservedCpuGhz
- the reservedCpuGhz to setpublic void setReservedMemoryGB(double reservedMemoryGB)
reservedMemoryGB
- the reservedMemoryGB to setpublic void setUsedCpuGhz(double usedCpuGhz)
usedCpuGhz
- the usedCpuGhz to setpublic void setUsedMemoryGB(double usedMemoryGB)
usedMemoryGB
- the usedMemoryGB to setpublic double getSnapshotFilesMB()
public void setSnapshotFilesMB(double snapshotFilesMB)
public double getNetRxUsageKB()
public void setNetRxUsageKB(double netRxUsageKB)
public double getNetTxUsageKB()
public void setNetTxUsageKB(double netTxUsageKB)
public int getCpuCores()
public void setCpuCores(int cpuCores)
public int getType()
public java.lang.String getTypeAsString()
public void setType(int type)
type
- the type to setpublic int getId()
public void setId(int id)
public int getVdcId()
public int getCatalogId()
public void setVdcId(int vdcId)
vdcId
- the vdcId to setpublic void setCatalogId(int catalogId)
catalogId
- the catalogId to setpublic int getCategoryId()
public void setCategoryId(int categoryId)
categoryId
- the categoryId to setpublic long getTime()
public void setTime(long time)
public java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId
- the resourceId to setpublic int getResourceType()
public void setResourceType(int resourceType)
resourceType
- the resourceType to setpublic boolean isHalfLengthBlade()
public void setHalfLengthBlade(boolean halfLengthBlade)
halfLengthBlade
- the halfLengthBlade to set