Class V1ResourceQuotaStatus

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ResourceQuotaStatus extends Object
ResourceQuotaStatus defines the enforced hard limits and observed use.
  • Field Details

  • Constructor Details

    • V1ResourceQuotaStatus

      public V1ResourceQuotaStatus()
  • Method Details

    • getHard

      public Map<String,@NotNull String> getHard()
      Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
      Returns:
      the hard property value
    • setHard

      public void setHard(Map<String,@NotNull String> hard)
      Set the hard property value
      Parameters:
      hard - property value to set
    • hard

      public V1ResourceQuotaStatus hard(Map<String,@NotNull String> hard)
      Set hard in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaStatus for chaining.
    • puthardItem

      public V1ResourceQuotaStatus puthardItem(String key, String hardItem)
      Set the value for the key for the hard map property in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaStatus for chaining.
    • getUsed

      public Map<String,@NotNull String> getUsed()
      Used is the current observed total usage of the resource in the namespace.
      Returns:
      the used property value
    • setUsed

      public void setUsed(Map<String,@NotNull String> used)
      Set the used property value
      Parameters:
      used - property value to set
    • used

      public V1ResourceQuotaStatus used(Map<String,@NotNull String> used)
      Set used in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaStatus for chaining.
    • putusedItem

      public V1ResourceQuotaStatus putusedItem(String key, String usedItem)
      Set the value for the key for the used map property in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaStatus 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