Class V1alpha3DeviceTaint

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceTaint

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha3DeviceTaint 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 Details

  • Constructor Details

    • V1alpha3DeviceTaint

      public V1alpha3DeviceTaint(String effect, String key)
  • Method Details

    • 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.
      Returns:
      the effect property value
    • setEffect

      public void setEffect(String effect)
      Set the effect property value
      Parameters:
      effect - property value to set
    • effect

      public V1alpha3DeviceTaint effect(String effect)
      Set effect in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceTaint for chaining.
    • getKey

      public String getKey()
      The taint key to be applied to a device. Must be a label name.
      Returns:
      the key property value
    • setKey

      public void setKey(String key)
      Set the key property value
      Parameters:
      key - property value to set
    • key

      public V1alpha3DeviceTaint key(String key)
      Set key in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceTaint for chaining.
    • getTimeAdded

      public OffsetDateTime 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

      public void setTimeAdded(OffsetDateTime timeAdded)
      Set the timeAdded property value
      Parameters:
      timeAdded - property value to set
    • timeAdded

      public V1alpha3DeviceTaint timeAdded(OffsetDateTime timeAdded)
      Set timeAdded in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceTaint for chaining.
    • getValue

      public String getValue()
      The taint value corresponding to the taint key. Must be a label value.
      Returns:
      the value property value
    • setValue

      public void setValue(String value)
      Set the value property value
      Parameters:
      value - property value to set
    • value

      public V1alpha3DeviceTaint value(String value)
      Set value in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceTaint for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object