Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1ResourceQuotaSpec
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1ResourceQuotaSpec
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1ResourceQuotaSpec extends Object
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_HARDstatic StringJSON_PROPERTY_SCOPE_SELECTORstatic StringJSON_PROPERTY_SCOPES
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1ResourceQuotaSpec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiCoreV1ResourceQuotaSpecaddScopesItem(String scopesItem)booleanequals(Object o)Map<String,String>getHard()hard is the set of desired hard limits for each named resource.List<String>getScopes()A collection of filters that must match each object tracked by a quota.IoK8sApiCoreV1ScopeSelectorgetScopeSelector()Get scopeSelectorIoK8sApiCoreV1ResourceQuotaSpechard(Map<String,String> hard)inthashCode()IoK8sApiCoreV1ResourceQuotaSpecputHardItem(String key, String hardItem)IoK8sApiCoreV1ResourceQuotaSpecscopes(List<String> scopes)IoK8sApiCoreV1ResourceQuotaSpecscopeSelector(IoK8sApiCoreV1ScopeSelector scopeSelector)voidsetHard(Map<String,String> hard)voidsetScopes(List<String> scopes)voidsetScopeSelector(IoK8sApiCoreV1ScopeSelector scopeSelector)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_HARD
public static final String JSON_PROPERTY_HARD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCOPE_SELECTOR
public static final String JSON_PROPERTY_SCOPE_SELECTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCOPES
public static final String JSON_PROPERTY_SCOPES
- See Also:
- Constant Field Values
-
-
Method Detail
-
hard
public IoK8sApiCoreV1ResourceQuotaSpec hard(Map<String,String> hard)
-
putHardItem
public IoK8sApiCoreV1ResourceQuotaSpec putHardItem(String key, String hardItem)
-
getHard
@Nullable 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:
- hard
-
scopeSelector
public IoK8sApiCoreV1ResourceQuotaSpec scopeSelector(IoK8sApiCoreV1ScopeSelector scopeSelector)
-
getScopeSelector
@Nullable public IoK8sApiCoreV1ScopeSelector getScopeSelector()
Get scopeSelector- Returns:
- scopeSelector
-
setScopeSelector
public void setScopeSelector(IoK8sApiCoreV1ScopeSelector scopeSelector)
-
scopes
public IoK8sApiCoreV1ResourceQuotaSpec scopes(List<String> scopes)
-
addScopesItem
public IoK8sApiCoreV1ResourceQuotaSpec addScopesItem(String scopesItem)
-
getScopes
@Nullable 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:
- scopes
-
-