@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1Toleration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_EFFECT |
static String |
SERIALIZED_NAME_KEY |
static String |
SERIALIZED_NAME_OPERATOR |
static String |
SERIALIZED_NAME_TOLERATION_SECONDS |
static String |
SERIALIZED_NAME_VALUE |
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 static final String SERIALIZED_NAME_EFFECT
public static final String SERIALIZED_NAME_KEY
public static final String SERIALIZED_NAME_OPERATOR
public static final String SERIALIZED_NAME_TOLERATION_SECONDS
public static final String SERIALIZED_NAME_VALUE
public V1Toleration effect(String effect)
@Nullable public String getEffect()
public void setEffect(String effect)
public V1Toleration key(String key)
@Nullable public String getKey()
public void setKey(String key)
public V1Toleration operator(String operator)
@Nullable public String getOperator()
public void setOperator(String operator)
public V1Toleration tolerationSeconds(Long tolerationSeconds)
@Nullable public Long getTolerationSeconds()
public void setTolerationSeconds(Long tolerationSeconds)
public V1Toleration value(String value)
@Nullable public String getValue()
public void setValue(String value)
Copyright © 2020. All rights reserved.