Class IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
    extends Object
    current status of a horizontal pod autoscaler
    • Constructor Detail

      • IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus

        public IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus()
    • Method Detail

      • getCurrentCPUUtilizationPercentage

        @Nullable
        public Integer getCurrentCPUUtilizationPercentage()
        current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.
        Returns:
        currentCPUUtilizationPercentage
      • setCurrentCPUUtilizationPercentage

        public void setCurrentCPUUtilizationPercentage​(Integer currentCPUUtilizationPercentage)
      • getCurrentReplicas

        public Integer getCurrentReplicas()
        current number of replicas of pods managed by this autoscaler.
        Returns:
        currentReplicas
      • setCurrentReplicas

        public void setCurrentReplicas​(Integer currentReplicas)
      • getDesiredReplicas

        public Integer getDesiredReplicas()
        desired number of replicas of pods managed by this autoscaler.
        Returns:
        desiredReplicas
      • setDesiredReplicas

        public void setDesiredReplicas​(Integer desiredReplicas)
      • getLastScaleTime

        @Nullable
        public OffsetDateTime getLastScaleTime()
        Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
        Returns:
        lastScaleTime
      • setLastScaleTime

        public void setLastScaleTime​(OffsetDateTime lastScaleTime)
      • getObservedGeneration

        @Nullable
        public Long getObservedGeneration()
        most recent generation observed by this autoscaler.
        Returns:
        observedGeneration
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object