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

io.k8s.api.core.v1.ReplicationControllerStatus Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
package io.k8s.api.core.v1;

import java.lang.Long;
import java.util.List;

/**
 * ReplicationControllerStatus represents the current status of a replication controller.
 */
public class ReplicationControllerStatus {
  public Long availableReplicas;

  public List conditions;

  public Long fullyLabeledReplicas;

  public Long observedGeneration;

  public Long readyReplicas;

  public Long replicas;

  /**
   * The number of available replicas (ready for at least minReadySeconds) for this replication controller.
   */
  public ReplicationControllerStatus availableReplicas(Long availableReplicas) {
    this.availableReplicas = availableReplicas;
    return this;
  }

  /**
   * Represents the latest available observations of a replication controller's current state.
   */
  public ReplicationControllerStatus conditions(List conditions) {
    this.conditions = conditions;
    return this;
  }

  /**
   * The number of pods that have labels matching the labels of the pod template of the replication controller.
   */
  public ReplicationControllerStatus fullyLabeledReplicas(Long fullyLabeledReplicas) {
    this.fullyLabeledReplicas = fullyLabeledReplicas;
    return this;
  }

  /**
   * ObservedGeneration reflects the generation of the most recently observed replication controller.
   */
  public ReplicationControllerStatus observedGeneration(Long observedGeneration) {
    this.observedGeneration = observedGeneration;
    return this;
  }

  /**
   * The number of ready replicas for this replication controller.
   */
  public ReplicationControllerStatus readyReplicas(Long readyReplicas) {
    this.readyReplicas = readyReplicas;
    return this;
  }

  /**
   * Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
   */
  public ReplicationControllerStatus replicas(Long replicas) {
    this.replicas = replicas;
    return this;
  }

  public static ReplicationControllerStatus replicationControllerStatus() {
    return new ReplicationControllerStatus();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy