public class Toleration extends AbstractModel
Constructor and Description |
---|
Toleration() |
Toleration(Toleration 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 The taint effect to be matched
|
String |
getKey()
Get Key of the taint to which the toleration is applied
|
String |
getOperator()
Get The key-value relationship
|
void |
setEffect(String Effect)
Set The taint effect to be matched
|
void |
setKey(String Key)
Set Key of the taint to which the toleration is applied
|
void |
setOperator(String Operator)
Set The key-value relationship
|
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 Toleration()
public Toleration(Toleration source)
public String getKey()
public void setKey(String Key)
Key
- Key of the taint to which the toleration is appliedpublic String getOperator()
public void setOperator(String Operator)
Operator
- The key-value relationshippublic String getEffect()
public void setEffect(String Effect)
Effect
- The taint effect to be matchedCopyright © 2023. All rights reserved.