Package io.fabric8.kubernetes.api.model
Class ResourceQuotaSpec
java.lang.Object
io.fabric8.kubernetes.api.model.ResourceQuotaSpec
- All Implemented Interfaces:
KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class ResourceQuotaSpec extends Object implements KubernetesResource
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ResourceQuotaSpec()No args constructor for use in serializationResourceQuotaSpec(Map<String,Quantity> hard, ScopeSelector scopeSelector, List<String> scopes) -
Method Summary
Modifier and Type Method Description Map<String,Object>getAdditionalProperties()Map<String,Quantity>getHard()List<String>getScopes()ScopeSelectorgetScopeSelector()voidsetAdditionalProperty(String name, Object value)voidsetHard(Map<String,Quantity> hard)voidsetScopes(List<String> scopes)voidsetScopeSelector(ScopeSelector scopeSelector)
-
Constructor Details
-
ResourceQuotaSpec
public ResourceQuotaSpec()No args constructor for use in serialization -
ResourceQuotaSpec
public ResourceQuotaSpec(Map<String,Quantity> hard, ScopeSelector scopeSelector, List<String> scopes)- Parameters:
scopeSelector-hard-scopes-
-
-
Method Details
-
getHard
- Returns:
- The hard
-
setHard
- Parameters:
hard- The hard
-
getScopeSelector
- Returns:
- The scopeSelector
-
setScopeSelector
- Parameters:
scopeSelector- The scopeSelector
-
getScopes
- Returns:
- The scopes
-
setScopes
- Parameters:
scopes- The scopes
-
getAdditionalProperties
-
setAdditionalProperty
-