Class InstanceUpgradePreCheckResultItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tke.v20180525.models.InstanceUpgradePreCheckResultItem
-
public class InstanceUpgradePreCheckResultItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InstanceUpgradePreCheckResultItem()InstanceUpgradePreCheckResultItem(InstanceUpgradePreCheckResultItem 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAfter()Get 驱逐节点后工作负载running的pod数目LonggetBefore()Get 驱逐节点前工作负载running的pod数目StringgetNamespace()Get 工作负载的命名空间String[]getPods()Get 工作负载在本节点上的pod列表StringgetWorkLoadKind()Get 工作负载类型StringgetWorkLoadName()Get 工作负载名称voidsetAfter(Long After)Set 驱逐节点后工作负载running的pod数目voidsetBefore(Long Before)Set 驱逐节点前工作负载running的pod数目voidsetNamespace(String Namespace)Set 工作负载的命名空间voidsetPods(String[] Pods)Set 工作负载在本节点上的pod列表voidsetWorkLoadKind(String WorkLoadKind)Set 工作负载类型voidsetWorkLoadName(String WorkLoadName)Set 工作负载名称voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
InstanceUpgradePreCheckResultItem
public InstanceUpgradePreCheckResultItem()
-
InstanceUpgradePreCheckResultItem
public InstanceUpgradePreCheckResultItem(InstanceUpgradePreCheckResultItem 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.
-
-
Method Detail
-
getNamespace
public String getNamespace()
Get 工作负载的命名空间- Returns:
- Namespace 工作负载的命名空间
-
setNamespace
public void setNamespace(String Namespace)
Set 工作负载的命名空间- Parameters:
Namespace- 工作负载的命名空间
-
getWorkLoadKind
public String getWorkLoadKind()
Get 工作负载类型- Returns:
- WorkLoadKind 工作负载类型
-
setWorkLoadKind
public void setWorkLoadKind(String WorkLoadKind)
Set 工作负载类型- Parameters:
WorkLoadKind- 工作负载类型
-
getWorkLoadName
public String getWorkLoadName()
Get 工作负载名称- Returns:
- WorkLoadName 工作负载名称
-
setWorkLoadName
public void setWorkLoadName(String WorkLoadName)
Set 工作负载名称- Parameters:
WorkLoadName- 工作负载名称
-
getBefore
public Long getBefore()
Get 驱逐节点前工作负载running的pod数目- Returns:
- Before 驱逐节点前工作负载running的pod数目
-
setBefore
public void setBefore(Long Before)
Set 驱逐节点前工作负载running的pod数目- Parameters:
Before- 驱逐节点前工作负载running的pod数目
-
getAfter
public Long getAfter()
Get 驱逐节点后工作负载running的pod数目- Returns:
- After 驱逐节点后工作负载running的pod数目
-
setAfter
public void setAfter(Long After)
Set 驱逐节点后工作负载running的pod数目- Parameters:
After- 驱逐节点后工作负载running的pod数目
-
getPods
public String[] getPods()
Get 工作负载在本节点上的pod列表- Returns:
- Pods 工作负载在本节点上的pod列表
-
setPods
public void setPods(String[] Pods)
Set 工作负载在本节点上的pod列表- Parameters:
Pods- 工作负载在本节点上的pod列表
-
-