Package io.fabric8.kubernetes.api.model
Class ResourceQuotaStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ResourceQuotaStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ResourceQuotaStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ResourceQuotaStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ResourceQuotaStatusBuilder>, KubernetesResource
ResourceQuotaStatus defines the enforced hard limits and observed use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceQuotaStatus()No args constructor for use in serializationResourceQuotaStatus(Map<String,Quantity> hard, Map<String,Quantity> used)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceQuotaStatusBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,Quantity>getHard()Hard is the set of enforced hard limits for each named resource.Map<String,Quantity>getUsed()Used is the current observed total usage of the resource in the namespace.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHard(Map<String,Quantity> hard)Hard is the set of enforced hard limits for each named resource.voidsetUsed(Map<String,Quantity> used)Used is the current observed total usage of the resource in the namespace.ResourceQuotaStatusBuildertoBuilder()
-
-
-
Method Detail
-
getHard
public Map<String,Quantity> getHard()
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
-
setHard
public void setHard(Map<String,Quantity> hard)
Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
-
getUsed
public Map<String,Quantity> getUsed()
Used is the current observed total usage of the resource in the namespace.
-
setUsed
public void setUsed(Map<String,Quantity> used)
Used is the current observed total usage of the resource in the namespace.
-
edit
public ResourceQuotaStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ResourceQuotaStatusBuilder>
-
toBuilder
public ResourceQuotaStatusBuilder toBuilder()
-
-