Class V1DaemonSetSpec

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DaemonSetSpec extends Object
DaemonSetSpec is the specification of a daemon set.
  • Field Details

  • Constructor Details

  • Method Details

    • getSelector

      public V1LabelSelector getSelector()
      Returns:
      the selector property value
    • setSelector

      public void setSelector(V1LabelSelector selector)
      Set the selector property value
      Parameters:
      selector - property value to set
    • selector

      public V1DaemonSetSpec selector(V1LabelSelector selector)
      Set selector in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetSpec for chaining.
    • getTemplate

      public V1PodTemplateSpec getTemplate()
      Returns:
      the template property value
    • setTemplate

      public void setTemplate(V1PodTemplateSpec template)
      Set the template property value
      Parameters:
      template - property value to set
    • template

      public V1DaemonSetSpec template(V1PodTemplateSpec template)
      Set template in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetSpec for chaining.
    • getMinReadySeconds

      public Integer getMinReadySeconds()
      The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
      Returns:
      the minReadySeconds property value
    • setMinReadySeconds

      public void setMinReadySeconds(Integer minReadySeconds)
      Set the minReadySeconds property value
      Parameters:
      minReadySeconds - property value to set
    • minReadySeconds

      public V1DaemonSetSpec minReadySeconds(Integer minReadySeconds)
      Set minReadySeconds in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetSpec for chaining.
    • getRevisionHistoryLimit

      public Integer getRevisionHistoryLimit()
      The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
      Returns:
      the revisionHistoryLimit property value
    • setRevisionHistoryLimit

      public void setRevisionHistoryLimit(Integer revisionHistoryLimit)
      Set the revisionHistoryLimit property value
      Parameters:
      revisionHistoryLimit - property value to set
    • revisionHistoryLimit

      public V1DaemonSetSpec revisionHistoryLimit(Integer revisionHistoryLimit)
      Set revisionHistoryLimit in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetSpec for chaining.
    • getUpdateStrategy

      public V1DaemonSetUpdateStrategy getUpdateStrategy()
      Returns:
      the updateStrategy property value
    • setUpdateStrategy

      public void setUpdateStrategy(V1DaemonSetUpdateStrategy updateStrategy)
      Set the updateStrategy property value
      Parameters:
      updateStrategy - property value to set
    • updateStrategy

      public V1DaemonSetSpec updateStrategy(V1DaemonSetUpdateStrategy updateStrategy)
      Set updateStrategy in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetSpec 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