public class InstanceUpgradePreCheckResultItem extends AbstractModel
| Constructor and 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Long | 
getAfter()
Get The number of running pods in the workload after draining the node 
 | 
Long | 
getBefore()
Get The number of running pods in the workload before draining the node 
 | 
String | 
getNamespace()
Get The namespace of the workload 
 | 
String[] | 
getPods()
Get The pod list of the workload on this node 
 | 
String | 
getWorkLoadKind()
Get Workload type 
 | 
String | 
getWorkLoadName()
Get Workload name 
 | 
void | 
setAfter(Long After)
Set The number of running pods in the workload after draining the node 
 | 
void | 
setBefore(Long Before)
Set The number of running pods in the workload before draining the node 
 | 
void | 
setNamespace(String Namespace)
Set The namespace of the workload 
 | 
void | 
setPods(String[] Pods)
Set The pod list of the workload on this node 
 | 
void | 
setWorkLoadKind(String WorkLoadKind)
Set Workload type 
 | 
void | 
setWorkLoadName(String WorkLoadName)
Set Workload name 
 | 
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, toJsonStringpublic InstanceUpgradePreCheckResultItem()
public InstanceUpgradePreCheckResultItem(InstanceUpgradePreCheckResultItem source)
public String getNamespace()
public void setNamespace(String Namespace)
Namespace - The namespace of the workloadpublic String getWorkLoadKind()
public void setWorkLoadKind(String WorkLoadKind)
WorkLoadKind - Workload typepublic String getWorkLoadName()
public void setWorkLoadName(String WorkLoadName)
WorkLoadName - Workload namepublic Long getBefore()
public void setBefore(Long Before)
Before - The number of running pods in the workload before draining the nodepublic Long getAfter()
public void setAfter(Long After)
After - The number of running pods in the workload after draining the nodepublic String[] getPods()
public void setPods(String[] Pods)
Pods - The pod list of the workload on this nodeCopyright © 2021. All rights reserved.