public class HostResource extends AbstractModel
Constructor and Description |
---|
HostResource() |
HostResource(HostResource 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 |
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 Available disk size of the CDH instance (unit: GiB)
|
Long |
getDiskTotal()
Get Total disk size of the CDH instance (unit: GiB)
|
String |
getDiskType()
Get Disk type of the CDH instance
|
Long |
getGpuAvailable()
Get Number of available GPU cards in the CDH instance
|
Long |
getGpuTotal()
Get Total number of GPU cards in the CDH instance
|
Float |
getMemAvailable()
Get Available memory size of the CDH instance (unit: GiB)
|
Float |
getMemTotal()
Get Total memory size 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 Available 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 Disk type of the CDH instance
|
void |
setGpuAvailable(Long GpuAvailable)
Set Number of available GPU cards in the CDH instance
|
void |
setGpuTotal(Long GpuTotal)
Set Total number of GPU cards in the CDH instance
|
void |
setMemAvailable(Float MemAvailable)
Set Available memory size of the CDH instance (unit: GiB)
|
void |
setMemTotal(Float MemTotal)
Set Total memory size 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 HostResource()
public HostResource(HostResource source)
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 size of the CDH instance (unit: GiB)public Float getMemAvailable()
public void setMemAvailable(Float MemAvailable)
MemAvailable
- Available memory size of the CDH instance (unit: GiB)public Long getDiskTotal()
public void setDiskTotal(Long DiskTotal)
DiskTotal
- Total disk size of the CDH instance (unit: GiB)public Long getDiskAvailable()
public void setDiskAvailable(Long DiskAvailable)
DiskAvailable
- Available disk size of the CDH instance (unit: GiB)public String getDiskType()
public void setDiskType(String DiskType)
DiskType
- Disk type of the CDH instancepublic Long getGpuTotal()
public void setGpuTotal(Long GpuTotal)
GpuTotal
- Total number of GPU cards in the CDH instancepublic Long getGpuAvailable()
public void setGpuAvailable(Long GpuAvailable)
GpuAvailable
- Number of available GPU cards in the CDH instanceCopyright © 2023. All rights reserved.