Class IoK8sApiCoreV1Taint


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoreV1Taint
    extends Object
    The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.
    • Constructor Detail

      • IoK8sApiCoreV1Taint

        public IoK8sApiCoreV1Taint()
    • Method Detail

      • getEffect

        public String getEffect()
        Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
        Returns:
        effect
      • setEffect

        public void setEffect​(String effect)
      • getKey

        public String getKey()
        Required. The taint key to be applied to a node.
        Returns:
        key
      • setKey

        public void setKey​(String key)
      • getTimeAdded

        @Nullable
        public OffsetDateTime getTimeAdded()
        Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
        Returns:
        timeAdded
      • setTimeAdded

        public void setTimeAdded​(OffsetDateTime timeAdded)
      • getValue

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

        public void setValue​(String value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object