Class V1RollingUpdateDeployment

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1RollingUpdateDeployment extends Object
Spec to control the desired behavior of rolling update.
  • Field Details

  • Constructor Details

    • V1RollingUpdateDeployment

      public V1RollingUpdateDeployment()
  • Method Details

    • maxSurge

      public V1RollingUpdateDeployment maxSurge(IntOrString maxSurge)
    • getMaxSurge

      @Nullable public IntOrString 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:
      maxSurge
    • setMaxSurge

      public void setMaxSurge(IntOrString maxSurge)
    • maxUnavailable

      public V1RollingUpdateDeployment maxUnavailable(IntOrString maxUnavailable)
    • getMaxUnavailable

      @Nullable public IntOrString 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:
      maxUnavailable
    • setMaxUnavailable

      public void setMaxUnavailable(IntOrString maxUnavailable)
    • 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