public class V1Toleration extends Object
Constructor and Description |
---|
V1Toleration() |
Modifier and Type | Method and Description |
---|---|
V1Toleration |
effect(String effect) |
boolean |
equals(Object o) |
String |
getEffect()
Effect indicates the taint effect to match.
|
String |
getKey()
Key is the taint key that the toleration applies to.
|
String |
getOperator()
Operator represents a key's relationship to the value.
|
Long |
getTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint.
|
String |
getValue()
Value is the taint value the toleration matches to.
|
int |
hashCode() |
V1Toleration |
key(String key) |
V1Toleration |
operator(String operator) |
void |
setEffect(String effect) |
void |
setKey(String key) |
void |
setOperator(String operator) |
void |
setTolerationSeconds(Long tolerationSeconds) |
void |
setValue(String value) |
V1Toleration |
tolerationSeconds(Long tolerationSeconds) |
String |
toString() |
V1Toleration |
value(String value) |
public V1Toleration effect(String effect)
public String getEffect()
public void setEffect(String effect)
public V1Toleration key(String key)
public String getKey()
public void setKey(String key)
public V1Toleration operator(String operator)
public String getOperator()
public void setOperator(String operator)
public V1Toleration tolerationSeconds(Long tolerationSeconds)
public Long getTolerationSeconds()
public void setTolerationSeconds(Long tolerationSeconds)
public V1Toleration value(String value)
public String getValue()
public void setValue(String value)
Copyright © 2018. All rights reserved.