Class V1DaemonSetUpdateStrategy

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1DaemonSetUpdateStrategy extends Object
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
  • Field Details

  • Constructor Details

    • V1DaemonSetUpdateStrategy

      public V1DaemonSetUpdateStrategy()
  • Method Details

    • getRollingUpdate

      public V1RollingUpdateDaemonSet getRollingUpdate()
      Returns:
      the rollingUpdate property value
    • setRollingUpdate

      public void setRollingUpdate(V1RollingUpdateDaemonSet rollingUpdate)
      Set the rollingUpdate property value
    • rollingUpdate

      public V1DaemonSetUpdateStrategy rollingUpdate(V1RollingUpdateDaemonSet rollingUpdate)
      Set rollingUpdate in a chainable fashion.
      Returns:
      The same instance of V1DaemonSetUpdateStrategy for chaining.
    • getType

      public String getType()
      Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.
      Returns:
      the type property value
    • setType

      public void setType(String type)
      Set the type property value
    • type

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