public class HostResource extends AbstractModel
Constructor and Description |
---|
HostResource() |
Modifier and Type | Method and Description |
---|---|
Long |
getCpuAvailable()
Get Number of available CPU cores in the CDH instance
|
Long |
getCpuTotal()
Get Total number of CPU cores in the CDH instance
|
Long |
getDiskAvailable()
Get Avilable disk size of the CDH instance; unit: GiB
|
Long |
getDiskTotal()
Get Total disk size of the CDH instance; unit: GiB
|
String |
getDiskType()
Get
|
Float |
getMemAvailable()
Get Available memory of the CDH instance; unit: GiB
|
Float |
getMemTotal()
Get Total memory of the CDH instance; unit: GiB
|
void |
setCpuAvailable(Long CpuAvailable)
Set Number of available CPU cores in the CDH instance
|
void |
setCpuTotal(Long CpuTotal)
Set Total number of CPU cores in the CDH instance
|
void |
setDiskAvailable(Long DiskAvailable)
Set Avilable disk size of the CDH instance; unit: GiB
|
void |
setDiskTotal(Long DiskTotal)
Set Total disk size of the CDH instance; unit: GiB
|
void |
setDiskType(String DiskType)
Set
|
void |
setMemAvailable(Float MemAvailable)
Set Available memory of the CDH instance; unit: GiB
|
void |
setMemTotal(Float MemTotal)
Set Total memory of the CDH instance; unit: GiB
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getCpuTotal()
public void setCpuTotal(Long CpuTotal)
CpuTotal
- Total number of CPU cores in the CDH instancepublic Long getCpuAvailable()
public void setCpuAvailable(Long CpuAvailable)
CpuAvailable
- Number of available CPU cores in the CDH instancepublic Float getMemTotal()
public void setMemTotal(Float MemTotal)
MemTotal
- Total memory of the CDH instance; unit: GiBpublic Float getMemAvailable()
public void setMemAvailable(Float MemAvailable)
MemAvailable
- Available memory of the CDH instance; unit: GiBpublic Long getDiskTotal()
public void setDiskTotal(Long DiskTotal)
DiskTotal
- Total disk size of the CDH instance; unit: GiBpublic Long getDiskAvailable()
public void setDiskAvailable(Long DiskAvailable)
DiskAvailable
- Avilable disk size of the CDH instance; unit: GiBpublic String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Copyright © 2020. All rights reserved.