Class HorizontalPodAutoscalerStatus

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class HorizontalPodAutoscalerStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
    See Also:
    Serialized Form
    • Constructor Detail

      • HorizontalPodAutoscalerStatus

        public HorizontalPodAutoscalerStatus()
        No args constructor for use in serialization
    • Method Detail

      • getConditions

        public List<HorizontalPodAutoscalerCondition> getConditions()
        conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
      • setConditions

        public void setConditions​(List<HorizontalPodAutoscalerCondition> conditions)
        conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
      • getCurrentMetrics

        public List<MetricStatus> getCurrentMetrics()
        currentMetrics is the last read state of the metrics used by this autoscaler.
      • setCurrentMetrics

        public void setCurrentMetrics​(List<MetricStatus> currentMetrics)
        currentMetrics is the last read state of the metrics used by this autoscaler.
      • getCurrentReplicas

        public Integer getCurrentReplicas()
        currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
      • setCurrentReplicas

        public void setCurrentReplicas​(Integer currentReplicas)
        currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
      • getDesiredReplicas

        public Integer getDesiredReplicas()
        desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
      • setDesiredReplicas

        public void setDesiredReplicas​(Integer desiredReplicas)
        desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
      • getLastScaleTime

        public String getLastScaleTime()
        HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
      • setLastScaleTime

        public void setLastScaleTime​(String lastScaleTime)
        HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
      • getObservedGeneration

        public Long getObservedGeneration()
        observedGeneration is the most recent generation observed by this autoscaler.
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
        observedGeneration is the most recent generation observed by this autoscaler.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)