Class V1PodDisruptionBudgetSpec

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-12-05T08:14:34.919Z[Etc/UTC]") public class V1PodDisruptionBudgetSpec extends Object
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
  • Field Details

  • Constructor Details

    • V1PodDisruptionBudgetSpec

      public V1PodDisruptionBudgetSpec()
  • Method Details

    • maxUnavailable

      public V1PodDisruptionBudgetSpec 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)
    • minAvailable

      public V1PodDisruptionBudgetSpec minAvailable(IntOrString minAvailable)
    • getMinAvailable

      @Nullable public IntOrString getMinAvailable()
      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:
      minAvailable
    • setMinAvailable

      public void setMinAvailable(IntOrString minAvailable)
    • selector

      public V1PodDisruptionBudgetSpec selector(V1LabelSelector selector)
    • getSelector

      @Nullable public V1LabelSelector getSelector()
      Get selector
      Returns:
      selector
    • setSelector

      public void setSelector(V1LabelSelector selector)
    • 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