Package io.fabric8.kubernetes.api.model
Class Taint
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.Taint
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TaintBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Taint extends Object implements io.fabric8.kubernetes.api.builder.Editable<TaintBuilder>, KubernetesResource
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaintBuilderedit()Map<String,Object>getAdditionalProperties()StringgetEffect()Required.StringgetKey()Required.StringgetTimeAdded()The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.StringgetValue()The taint value corresponding to the taint key.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEffect(String effect)Required.voidsetKey(String key)Required.voidsetTimeAdded(String timeAdded)The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.voidsetValue(String value)The taint value corresponding to the taint key.TaintBuildertoBuilder()
-
-
-
Method Detail
-
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.
-
setEffect
public void setEffect(String effect)
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
-
getKey
public String getKey()
Required. The taint key to be applied to a node.
-
setKey
public void setKey(String key)
Required. The taint key to be applied to a node.
-
getTimeAdded
public String getTimeAdded()
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
-
setTimeAdded
public void setTimeAdded(String timeAdded)
The node this Taint is attached to has the "effect" on any pod that does not tolerate the Taint.
-
getValue
public String getValue()
The taint value corresponding to the taint key.
-
setValue
public void setValue(String value)
The taint value corresponding to the taint key.
-
edit
public TaintBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TaintBuilder>
-
toBuilder
public TaintBuilder toBuilder()
-
-