public class HostStatistic extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| HostStatistic() | 
| HostStatistic(HostStatistic source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getCount()Get Number of hosts of this type | 
| Long | getCpu()Get Number of CPU cores of host, in cores | 
| Float | getCpuAverage()Get Average CPU load percentage 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| DetailData | getCpuDetailData()Get Detailed CPU monitoring data 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| String | getHostFamily()Get Host model family | 
| String | getHostType()Get Host type | 
| Float | getMemAverage()Get Average memory usage percentage 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| DetailData | getMemDetailData()Get Memory details 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| Long | getMemory()Get Host memory, in GB | 
| Float | getNetAverage()Get Average network traffic 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| DetailData | getNetPacketDetailData()Get Network packet details 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| DetailData | getNetRateDetailData()Get Network rate details 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setCount(Long Count)Set Number of hosts of this type | 
| void | setCpu(Long Cpu)Set Number of CPU cores of host, in cores | 
| void | setCpuAverage(Float CpuAverage)Set Average CPU load percentage 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setCpuDetailData(DetailData CpuDetailData)Set Detailed CPU monitoring data 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setHostFamily(String HostFamily)Set Host model family | 
| void | setHostType(String HostType)Set Host type | 
| void | setMemAverage(Float MemAverage)Set Average memory usage percentage 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setMemDetailData(DetailData MemDetailData)Set Memory details 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setMemory(Long Memory)Set Host memory, in GB | 
| void | setNetAverage(Float NetAverage)Set Average network traffic 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setNetPacketDetailData(DetailData NetPacketDetailData)Set Network packet details 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | setNetRateDetailData(DetailData NetRateDetailData)Set Network rate details 
Note: The returned value of this field may be null, indicating that no valid value is obtained. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic HostStatistic()
public HostStatistic(HostStatistic source)
public String getHostType()
public void setHostType(String HostType)
HostType - Host typepublic String getHostFamily()
public void setHostFamily(String HostFamily)
HostFamily - Host model familypublic Long getCpu()
public void setCpu(Long Cpu)
Cpu - Number of CPU cores of host, in corespublic Long getMemory()
public void setMemory(Long Memory)
Memory - Host memory, in GBpublic Long getCount()
public void setCount(Long Count)
Count - Number of hosts of this typepublic Float getCpuAverage()
public void setCpuAverage(Float CpuAverage)
CpuAverage - Average CPU load percentage 
Note: The returned value of this field may be null, indicating that no valid value is obtained.public Float getMemAverage()
public void setMemAverage(Float MemAverage)
MemAverage - Average memory usage percentage 
Note: The returned value of this field may be null, indicating that no valid value is obtained.public Float getNetAverage()
public void setNetAverage(Float NetAverage)
NetAverage - Average network traffic 
Note: The returned value of this field may be null, indicating that no valid value is obtained.public DetailData getCpuDetailData()
public void setCpuDetailData(DetailData CpuDetailData)
CpuDetailData - Detailed CPU monitoring data 
Note: The returned value of this field may be null, indicating that no valid value is obtained.public DetailData getMemDetailData()
public void setMemDetailData(DetailData MemDetailData)
MemDetailData - Memory details 
Note: The returned value of this field may be null, indicating that no valid value is obtained.public DetailData getNetRateDetailData()
public void setNetRateDetailData(DetailData NetRateDetailData)
NetRateDetailData - Network rate details 
Note: The returned value of this field may be null, indicating that no valid value is obtained.public DetailData getNetPacketDetailData()
public void setNetPacketDetailData(DetailData NetPacketDetailData)
NetPacketDetailData - Network packet details 
Note: The returned value of this field may be null, indicating that no valid value is obtained.Copyright © 2024. All rights reserved.