io.k8s.api.core.v1.ResourceQuotaSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s131 Show documentation
Show all versions of bl-k8s131 Show documentation
Programmatic resource management for Kubernetes
The newest version!
package io.k8s.api.core.v1;
import io.k8s.api.core.v1.resourcequotaspec.Hard;
import java.lang.String;
import java.util.List;
/**
* ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
*/
public class ResourceQuotaSpec {
public Hard hard;
public ScopeSelector scopeSelector;
public List scopes;
/**
* hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
*/
public ResourceQuotaSpec hard(Hard hard) {
this.hard = hard;
return this;
}
public ResourceQuotaSpec scopeSelector(ScopeSelector scopeSelector) {
this.scopeSelector = scopeSelector;
return this;
}
/**
* A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
*/
public ResourceQuotaSpec scopes(List scopes) {
this.scopes = scopes;
return this;
}
public static ResourceQuotaSpec resourceQuotaSpec() {
return new ResourceQuotaSpec();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy