Class V1RollingUpdateDeployment

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1RollingUpdateDeployment extends Object
Spec to control the desired behavior of rolling update.
  • Field Details

  • Constructor Details

    • V1RollingUpdateDeployment

      public V1RollingUpdateDeployment()
  • Method Details

    • getMaxSurge

      public String getMaxSurge()
      IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
      Returns:
      the maxSurge property value
    • setMaxSurge

      public void setMaxSurge(String maxSurge)
      Set the maxSurge property value
    • maxSurge

      public V1RollingUpdateDeployment maxSurge(String maxSurge)
      Set maxSurge in a chainable fashion.
      Returns:
      The same instance of V1RollingUpdateDeployment for chaining.
    • getMaxUnavailable

      public String getMaxUnavailable()
      IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
      Returns:
      the maxUnavailable property value
    • setMaxUnavailable

      public void setMaxUnavailable(String maxUnavailable)
      Set the maxUnavailable property value
    • maxUnavailable

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