Package org.cdk8s.plus25.k8s
Interface ResourceQuotaSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResourceQuotaSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.807Z") @Stability(Stable) public interface ResourceQuotaSpec extends software.amazon.jsii.JsiiSerializable
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourceQuotaSpec.BuilderA builder forResourceQuotaSpecstatic classResourceQuotaSpec.Jsii$ProxyAn implementation forResourceQuotaSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ResourceQuotaSpec.Builderbuilder()default Map<String,Quantity>getHard()hard is the set of desired hard limits for each named resource.default List<String>getScopes()A collection of filters that must match each object tracked by a quota.default ScopeSelectorgetScopeSelector()scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.
-
-
-
Method Detail
-
getHard
@Stability(Stable) @Nullable default Map<String,Quantity> getHard()
hard is the set of desired hard limits for each named resource.More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
-
getScopes
@Stability(Stable) @Nullable default List<String> getScopes()
A collection of filters that must match each object tracked by a quota.If not specified, the quota matches all objects.
-
getScopeSelector
@Stability(Stable) @Nullable default ScopeSelector getScopeSelector()
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
-
builder
@Stability(Stable) static ResourceQuotaSpec.Builder builder()
- Returns:
- a
ResourceQuotaSpec.BuilderofResourceQuotaSpec
-
-