io.k8s.api.autoscaling.v1.ScaleSpec Maven / Gradle / Ivy
package io.k8s.api.autoscaling.v1;
import java.lang.Long;
/**
* ScaleSpec describes the attributes of a scale subresource.
*/
public class ScaleSpec {
public Long replicas;
/**
* replicas is the desired number of instances for the scaled object.
*/
public ScaleSpec replicas(Long replicas) {
this.replicas = replicas;
return this;
}
public static ScaleSpec scaleSpec() {
return new ScaleSpec();
}
}