Class HorizontalPodAutoscalerStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v1.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.KubernetesResourcecurrent status of a horizontal pod autoscaler- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HorizontalPodAutoscalerStatus()No args constructor for use in serializationHorizontalPodAutoscalerStatus(Integer currentCPUUtilizationPercentage, Integer currentReplicas, Integer desiredReplicas, String lastScaleTime, Long observedGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HorizontalPodAutoscalerStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetCurrentCPUUtilizationPercentage()currentCPUUtilizationPercentage is the 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.IntegergetCurrentReplicas()currentReplicas is the current number of replicas of pods managed by this autoscaler.IntegergetDesiredReplicas()desiredReplicas is the desired number of replicas of pods managed by this autoscaler.StringgetLastScaleTime()current status of a horizontal pod autoscalerLonggetObservedGeneration()observedGeneration is the most recent generation observed by this autoscaler.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)currentCPUUtilizationPercentage is the 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.voidsetCurrentReplicas(Integer currentReplicas)currentReplicas is the current number of replicas of pods managed by this autoscaler.voidsetDesiredReplicas(Integer desiredReplicas)desiredReplicas is the desired number of replicas of pods managed by this autoscaler.voidsetLastScaleTime(String lastScaleTime)current status of a horizontal pod autoscalervoidsetObservedGeneration(Long observedGeneration)observedGeneration is the most recent generation observed by this autoscaler.HorizontalPodAutoscalerStatusBuildertoBuilder()
-
-
-
Method Detail
-
getCurrentCPUUtilizationPercentage
public Integer getCurrentCPUUtilizationPercentage()
currentCPUUtilizationPercentage is the 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.
-
setCurrentCPUUtilizationPercentage
public void setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
currentCPUUtilizationPercentage is the 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.
-
getCurrentReplicas
public Integer getCurrentReplicas()
currentReplicas is the current number of replicas of pods managed by this autoscaler.
-
setCurrentReplicas
public void setCurrentReplicas(Integer currentReplicas)
currentReplicas is the current number of replicas of pods managed by this autoscaler.
-
getDesiredReplicas
public Integer getDesiredReplicas()
desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
-
setDesiredReplicas
public void setDesiredReplicas(Integer desiredReplicas)
desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
-
getLastScaleTime
public String getLastScaleTime()
current status of a horizontal pod autoscaler
-
setLastScaleTime
public void setLastScaleTime(String lastScaleTime)
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.
-
edit
public HorizontalPodAutoscalerStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerStatusBuilder>
-
toBuilder
public HorizontalPodAutoscalerStatusBuilder toBuilder()
-
-