Class V1ResourceQuotaSpec
java.lang.Object
io.kubernetes.client.openapi.models.V1ResourceQuotaSpec
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1ResourceQuotaSpec
extends Object
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddScopesItem
(String scopesItem) 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.Get scopeSelectorint
hashCode()
putHardItem
(String key, Quantity hardItem) scopeSelector
(V1ScopeSelector scopeSelector) void
void
void
setScopeSelector
(V1ScopeSelector scopeSelector) toString()
-
Field Details
-
SERIALIZED_NAME_HARD
- See Also:
-
SERIALIZED_NAME_SCOPE_SELECTOR
- See Also:
-
SERIALIZED_NAME_SCOPES
- See Also:
-
-
Constructor Details
-
V1ResourceQuotaSpec
public V1ResourceQuotaSpec()
-
-
Method Details
-
hard
-
putHardItem
-
getHard
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/- Returns:
- hard
-
setHard
-
scopeSelector
-
getScopeSelector
Get scopeSelector- Returns:
- scopeSelector
-
setScopeSelector
-
scopes
-
addScopesItem
-
getScopes
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.- Returns:
- scopes
-
setScopes
-
equals
-
hashCode
public int hashCode() -
toString
-