![JAR search and dependency download from the Maven repository](/logo.png)
io.k8s.api.autoscaling.v2.ResourceMetricStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.autoscaling.v2;
import java.lang.String;
/**
* ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
*/
public class ResourceMetricStatus {
public MetricValueStatus current;
public String name;
public ResourceMetricStatus current(MetricValueStatus current) {
this.current = current;
return this;
}
/**
* name is the name of the resource in question.
*/
public ResourceMetricStatus name(String name) {
this.name = name;
return this;
}
public static ResourceMetricStatus resourceMetricStatus() {
return new ResourceMetricStatus();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy