Class V1Taint
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1Taint
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1Taint
extends Object
The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet effect in a chainable fashion.boolean
Required.getKey()
Required.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
(ZonedDateTime timeAdded) Set the timeAdded property valuevoid
Set the value property valuetimeAdded
(ZonedDateTime 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
-
V1Taint
-
-
Method Details
-
getEffect
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.- Returns:
- the effect property value
-
setEffect
Set the effect property value -
effect
Set effect in a chainable fashion.- Returns:
- The same instance of V1Taint for chaining.
-
getKey
Required. The taint key to be applied to a node.- Returns:
- the key property value
-
setKey
Set the key property value -
key
Set key in a chainable fashion.- Returns:
- The same instance of V1Taint for chaining.
-
getTimeAdded
TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.- Returns:
- the timeAdded property value
-
setTimeAdded
Set the timeAdded property value -
timeAdded
Set timeAdded in a chainable fashion.- Returns:
- The same instance of V1Taint for chaining.
-
getValue
The taint value corresponding to the taint key.- Returns:
- the value property value
-
setValue
Set the value property value -
value
Set value in a chainable fashion.- Returns:
- The same instance of V1Taint for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-