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,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,String> hard)
      Set the hard property value
    • hard

      public V1ResourceQuotaStatus hard(Map<String,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,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,String> used)
      Set the used property value
    • used

      public V1ResourceQuotaStatus used(Map<String,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