public class K8SToleration extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| K8SToleration() | 
| K8SToleration(K8SToleration 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 | 
|---|---|
| String | getEffect()Get 执行策略
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getKey()Get 匹配的污点名 | 
| String | getOperator()Get 匹配方式,默认值为: Equal
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getTolerationSeconds()Get 当污点不被容忍时,Pod还能在节点上运行多久
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getValue()Get 匹配的污点值,当Operator为Equal时必填
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEffect(String Effect)Set 执行策略
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setKey(String Key)Set 匹配的污点名 | 
| void | setOperator(String Operator)Set 匹配方式,默认值为: Equal
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTolerationSeconds(Long TolerationSeconds)Set 当污点不被容忍时,Pod还能在节点上运行多久
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setValue(String Value)Set 匹配的污点值,当Operator为Equal时必填
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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 K8SToleration()
public K8SToleration(K8SToleration source)
public String getKey()
public void setKey(String Key)
Key - 匹配的污点名public String getOperator()
public void setOperator(String Operator)
Operator - 匹配方式,默认值为: Equal
注意:此字段可能返回 null,表示取不到有效值。public String getEffect()
public void setEffect(String Effect)
Effect - 执行策略
注意:此字段可能返回 null,表示取不到有效值。public String getValue()
public void setValue(String Value)
Value - 匹配的污点值,当Operator为Equal时必填
注意:此字段可能返回 null,表示取不到有效值。public Long getTolerationSeconds()
public void setTolerationSeconds(Long TolerationSeconds)
TolerationSeconds - 当污点不被容忍时,Pod还能在节点上运行多久
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.