All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy