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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem
(String scopesItem) Add an item to the scopes property in a chainable fashion.boolean
getHard()
hard is the set of desired hard limits for each named resource.A collection of filters that must match each object tracked by a quota.Set hard in a chainable fashion.int
hashCode()
puthardItem
(String key, String hardItem) Set the value for the key for the hard map property in a chainable fashion.Set scopes in a chainable fashion.scopeSelector
(V1ScopeSelector scopeSelector) Set scopeSelector in a chainable fashion.void
Set the hard property valuevoid
Set the scopes property valuevoid
setScopeSelector
(V1ScopeSelector scopeSelector) Set the scopeSelector property valuetoString()
-
Field Details
-
JSON_PROPERTY_HARD
- See Also:
-
JSON_PROPERTY_SCOPE_SELECTOR
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
-
Constructor Details
-
V1ResourceQuotaSpec
public V1ResourceQuotaSpec()
-
-
Method Details
-
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
Set the hard property value -
hard
Set hard in a chainable fashion.- Returns:
- The same instance of V1ResourceQuotaSpec for chaining.
-
puthardItem
Set the value for the key for the hard map property in a chainable fashion.- Returns:
- The same instance of V1ResourceQuotaSpec for chaining.
-
getScopeSelector
- Returns:
- the scopeSelector property value
-
setScopeSelector
Set the scopeSelector property value -
scopeSelector
Set scopeSelector in a chainable fashion.- Returns:
- The same instance of V1ResourceQuotaSpec for chaining.
-
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
Set the scopes property value -
scopes
Set scopes in a chainable fashion.- Returns:
- The same instance of V1ResourceQuotaSpec for chaining.
-
addscopesItem
Add an item to the scopes property in a chainable fashion.- Returns:
- The same instance of V1ResourceQuotaSpec for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-