@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class V1ResourceQuotaSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_HARD |
static String |
SERIALIZED_NAME_SCOPE_SELECTOR |
static String |
SERIALIZED_NAME_SCOPES |
Constructor and Description |
---|
V1ResourceQuotaSpec() |
Modifier and Type | Method and Description |
---|---|
V1ResourceQuotaSpec |
addScopesItem(String scopesItem) |
boolean |
equals(Object o) |
Map<String,Quantity> |
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.
|
V1ScopeSelector |
getScopeSelector()
Get scopeSelector
|
V1ResourceQuotaSpec |
hard(Map<String,Quantity> hard) |
int |
hashCode() |
V1ResourceQuotaSpec |
putHardItem(String key,
Quantity hardItem) |
V1ResourceQuotaSpec |
scopes(List<String> scopes) |
V1ResourceQuotaSpec |
scopeSelector(V1ScopeSelector scopeSelector) |
void |
setHard(Map<String,Quantity> hard) |
void |
setScopes(List<String> scopes) |
void |
setScopeSelector(V1ScopeSelector scopeSelector) |
String |
toString() |
public static final String SERIALIZED_NAME_HARD
public static final String SERIALIZED_NAME_SCOPE_SELECTOR
public static final String SERIALIZED_NAME_SCOPES
public V1ResourceQuotaSpec hard(Map<String,Quantity> hard)
public V1ResourceQuotaSpec putHardItem(String key, Quantity hardItem)
@Nullable public Map<String,Quantity> getHard()
public V1ResourceQuotaSpec scopeSelector(V1ScopeSelector scopeSelector)
@Nullable public V1ScopeSelector getScopeSelector()
public void setScopeSelector(V1ScopeSelector scopeSelector)
public V1ResourceQuotaSpec scopes(List<String> scopes)
public V1ResourceQuotaSpec addScopesItem(String scopesItem)
@Nullable public List<String> getScopes()
Copyright © 2022. All rights reserved.