Class V1beta1DeviceTaint
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta1DeviceTaint
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta1DeviceTaint
extends Object
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet effect in a chainable fashion.boolean
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them.getKey()
The taint key to be applied to a device.TimeAdded represents the time at which the taint was added.getValue()
The taint value corresponding to the taint key.int
hashCode()
Set key in a chainable fashion.void
Set the effect property valuevoid
Set the key property valuevoid
setTimeAdded
(OffsetDateTime timeAdded) Set the timeAdded property valuevoid
Set the value property valuetimeAdded
(OffsetDateTime timeAdded) Set timeAdded in a chainable fashion.toString()
Set value in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_EFFECT
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_TIME_ADDED
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
V1beta1DeviceTaint
-
-
Method Details
-
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.- Returns:
- the effect property value
-
setEffect
Set the effect property value- Parameters:
effect
- property value to set
-
effect
Set effect in a chainable fashion.- Returns:
- The same instance of V1beta1DeviceTaint for chaining.
-
getKey
The taint key to be applied to a device. Must be a label name.- Returns:
- the key property value
-
setKey
Set the key property value- Parameters:
key
- property value to set
-
key
Set key in a chainable fashion.- Returns:
- The same instance of V1beta1DeviceTaint for chaining.
-
getTimeAdded
TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.- Returns:
- the timeAdded property value
-
setTimeAdded
Set the timeAdded property value- Parameters:
timeAdded
- property value to set
-
timeAdded
Set timeAdded in a chainable fashion.- Returns:
- The same instance of V1beta1DeviceTaint for chaining.
-
getValue
The taint value corresponding to the taint key. Must be a label value.- Returns:
- the value property value
-
setValue
Set the value property value- Parameters:
value
- property value to set
-
value
Set value in a chainable fashion.- Returns:
- The same instance of V1beta1DeviceTaint for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-