Class V1ResourceQuotaSpec

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ResourceQuotaSpec extends Object
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
  • Field Details

  • Constructor Details

    • V1ResourceQuotaSpec

      public V1ResourceQuotaSpec()
  • Method Details

    • getHard

      public Map<String,String> getHard()
      hard is the set of desired 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 V1ResourceQuotaSpec hard(Map<String,String> hard)
      Set hard in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaSpec for chaining.
    • puthardItem

      public V1ResourceQuotaSpec 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 V1ResourceQuotaSpec for chaining.
    • getScopeSelector

      public V1ScopeSelector getScopeSelector()
      Returns:
      the scopeSelector property value
    • setScopeSelector

      public void setScopeSelector(V1ScopeSelector scopeSelector)
      Set the scopeSelector property value
    • scopeSelector

      public V1ResourceQuotaSpec scopeSelector(V1ScopeSelector scopeSelector)
      Set scopeSelector in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaSpec for chaining.
    • getScopes

      public List<String> getScopes()
      A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
      Returns:
      the scopes property value
    • setScopes

      public void setScopes(List<String> scopes)
      Set the scopes property value
    • scopes

      public V1ResourceQuotaSpec scopes(List<String> scopes)
      Set scopes in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaSpec for chaining.
    • addscopesItem

      public V1ResourceQuotaSpec addscopesItem(String scopesItem)
      Add an item to the scopes property in a chainable fashion.
      Returns:
      The same instance of V1ResourceQuotaSpec 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