Class DeviceTaint
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1.DeviceTaint
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceTaintBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceTaint extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceTaintBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceTaint()No args constructor for use in serializationDeviceTaint(String effect, String key, String timeAdded, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceTaintBuilderedit()Map<String,Object>getAdditionalProperties()StringgetEffect()The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them.StringgetKey()The taint key to be applied to a device.StringgetTimeAdded()The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.StringgetValue()The taint value corresponding to the taint key.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEffect(String effect)The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them.voidsetKey(String key)The taint key to be applied to a device.voidsetTimeAdded(String timeAdded)The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.voidsetValue(String value)The taint value corresponding to the taint key.DeviceTaintBuildertoBuilder()
-
-
-
Method Detail
-
getEffect
public String getEffect()
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
-
setEffect
public void setEffect(String effect)
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
-
getKey
public String getKey()
The taint key to be applied to a device. Must be a label name.
-
setKey
public void setKey(String key)
The taint key to be applied to a device. Must be a label name.
-
getTimeAdded
public String getTimeAdded()
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
-
setTimeAdded
public void setTimeAdded(String timeAdded)
The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
-
getValue
public String getValue()
The taint value corresponding to the taint key. Must be a label value.
-
setValue
public void setValue(String value)
The taint value corresponding to the taint key. Must be a label value.
-
edit
public DeviceTaintBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceTaintBuilder>
-
toBuilder
public DeviceTaintBuilder toBuilder()
-
-