Class V1alpha3DeviceTaint

java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceTaint

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-22T21:20:49.874193Z[Etc/UTC]") 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()
  • Method Details

    • effect

      public V1alpha3DeviceTaint effect(String effect)
    • 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:
      effect
    • setEffect

      public void setEffect(String effect)
    • key

      public V1alpha3DeviceTaint key(String key)
    • getKey

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

      public void setKey(String key)
    • timeAdded

      public V1alpha3DeviceTaint timeAdded(OffsetDateTime timeAdded)
    • getTimeAdded

      @Nullable public OffsetDateTime getTimeAdded()
      TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.
      Returns:
      timeAdded
    • setTimeAdded

      public void setTimeAdded(OffsetDateTime timeAdded)
    • value

      public V1alpha3DeviceTaint value(String value)
    • getValue

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

      public void setValue(String value)
    • 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