public class ExternalNodeInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ExternalNodeInfo() |
ExternalNodeInfo(ExternalNodeInfo 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 |
getCPU()
Get Number of CPU cores (unit: cores)
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getK8SVersion()
Get kubelet version information of third-party nodes
Note: This field may return "null", indicating that no valid value can be obtained.
|
Long |
getMemory()
Get Node memory capacity (unit: `GB`)
Note: This field may return "null", indicating that no valid value can be obtained.
|
String |
getName()
Get Third-party node name
|
void |
setCPU(Long CPU)
Set Number of CPU cores (unit: cores)
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setK8SVersion(String K8SVersion)
Set kubelet version information of third-party nodes
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setMemory(Long Memory)
Set Node memory capacity (unit: `GB`)
Note: This field may return "null", indicating that no valid value can be obtained.
|
void |
setName(String Name)
Set Third-party node name
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ExternalNodeInfo()
public ExternalNodeInfo(ExternalNodeInfo source)
public String getName()
public void setName(String Name)
Name - Third-party node namepublic Long getCPU()
public void setCPU(Long CPU)
CPU - Number of CPU cores (unit: cores)
Note: This field may return "null", indicating that no valid value can be obtained.public Long getMemory()
public void setMemory(Long Memory)
Memory - Node memory capacity (unit: `GB`)
Note: This field may return "null", indicating that no valid value can be obtained.public String getK8SVersion()
public void setK8SVersion(String K8SVersion)
K8SVersion - kubelet version information of third-party nodes
Note: This field may return "null", indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.