Class ResourceQuotaStatus

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ResourceQuotaStatus
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    ResourceQuotaStatus defines the enforced hard limits and observed use.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceQuotaStatus()  
      ResourceQuotaStatus​(java.util.Map<java.lang.String,​java.lang.String> hard, java.util.Map<java.lang.String,​java.lang.String> used)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ResourceQuotaStatus.Builder builder()  
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.util.Map<java.lang.String,​java.lang.String> getHard()
      Hard is the set of enforced hard limits for each named resource.
      java.util.Map<java.lang.String,​java.lang.String> getUsed()
      Used is the current observed total usage of the resource in the namespace.
      int hashCode()  
      void setHard​(java.util.Map<java.lang.String,​java.lang.String> hard)
      Hard is the set of enforced hard limits for each named resource.
      void setUsed​(java.util.Map<java.lang.String,​java.lang.String> used)
      Used is the current observed total usage of the resource in the namespace.
      ResourceQuotaStatus.Builder toBuilder()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ResourceQuotaStatus

        public ResourceQuotaStatus​(java.util.Map<java.lang.String,​java.lang.String> hard,
                                   java.util.Map<java.lang.String,​java.lang.String> used)
      • ResourceQuotaStatus

        public ResourceQuotaStatus()
    • Method Detail

      • getHard

        public java.util.Map<java.lang.String,​java.lang.String> getHard()
        Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
      • getUsed

        public java.util.Map<java.lang.String,​java.lang.String> getUsed()
        Used is the current observed total usage of the resource in the namespace.
      • setHard

        public void setHard​(java.util.Map<java.lang.String,​java.lang.String> hard)
        Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
      • setUsed

        public void setUsed​(java.util.Map<java.lang.String,​java.lang.String> used)
        Used is the current observed total usage of the resource in the namespace.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object