Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1Taint
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1Taint
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1Taint extends Object
The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EFFECTstatic StringJSON_PROPERTY_KEYstatic StringJSON_PROPERTY_TIME_ADDEDstatic StringJSON_PROPERTY_VALUE
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1Taint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1Tainteffect(String effect)booleanequals(Object o)StringgetEffect()Required.StringgetKey()Required.OffsetDateTimegetTimeAdded()Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.StringgetValue()The taint value corresponding to the taint key.inthashCode()IoK8sApiCoreV1Taintkey(String key)voidsetEffect(String effect)voidsetKey(String key)voidsetTimeAdded(OffsetDateTime timeAdded)voidsetValue(String value)IoK8sApiCoreV1TainttimeAdded(OffsetDateTime timeAdded)StringtoString()IoK8sApiCoreV1Taintvalue(String value)
-
-
-
Field Detail
-
JSON_PROPERTY_EFFECT
public static final String JSON_PROPERTY_EFFECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KEY
public static final String JSON_PROPERTY_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIME_ADDED
public static final String JSON_PROPERTY_TIME_ADDED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALUE
public static final String JSON_PROPERTY_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
effect
public IoK8sApiCoreV1Taint effect(String effect)
-
getEffect
public String getEffect()
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.- Returns:
- effect
-
setEffect
public void setEffect(String effect)
-
key
public IoK8sApiCoreV1Taint key(String key)
-
getKey
public String getKey()
Required. The taint key to be applied to a node.- Returns:
- key
-
setKey
public void setKey(String key)
-
timeAdded
public IoK8sApiCoreV1Taint timeAdded(OffsetDateTime timeAdded)
-
getTimeAdded
@Nullable public OffsetDateTime getTimeAdded()
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- timeAdded
-
setTimeAdded
public void setTimeAdded(OffsetDateTime timeAdded)
-
value
public IoK8sApiCoreV1Taint value(String value)
-
getValue
@Nullable public String getValue()
The taint value corresponding to the taint key.- Returns:
- value
-
setValue
public void setValue(String value)
-
-