@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1HorizontalPodAutoscalerStatus extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE |
static String |
SERIALIZED_NAME_CURRENT_REPLICAS |
static String |
SERIALIZED_NAME_DESIRED_REPLICAS |
static String |
SERIALIZED_NAME_LAST_SCALE_TIME |
static String |
SERIALIZED_NAME_OBSERVED_GENERATION |
Constructor and Description |
---|
V1HorizontalPodAutoscalerStatus() |
Modifier and Type | Method and Description |
---|---|
V1HorizontalPodAutoscalerStatus |
currentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage) |
V1HorizontalPodAutoscalerStatus |
currentReplicas(Integer currentReplicas) |
V1HorizontalPodAutoscalerStatus |
desiredReplicas(Integer desiredReplicas) |
boolean |
equals(Object o) |
Integer |
getCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU,
e.g.
|
Integer |
getCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
|
Integer |
getDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
|
OffsetDateTime |
getLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to
control how often the number of pods is changed.
|
Long |
getObservedGeneration()
most recent generation observed by this autoscaler.
|
int |
hashCode() |
V1HorizontalPodAutoscalerStatus |
lastScaleTime(OffsetDateTime lastScaleTime) |
V1HorizontalPodAutoscalerStatus |
observedGeneration(Long observedGeneration) |
void |
setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage) |
void |
setCurrentReplicas(Integer currentReplicas) |
void |
setDesiredReplicas(Integer desiredReplicas) |
void |
setLastScaleTime(OffsetDateTime lastScaleTime) |
void |
setObservedGeneration(Long observedGeneration) |
String |
toString() |
public static final String SERIALIZED_NAME_CURRENT_C_P_U_UTILIZATION_PERCENTAGE
public static final String SERIALIZED_NAME_CURRENT_REPLICAS
public static final String SERIALIZED_NAME_DESIRED_REPLICAS
public static final String SERIALIZED_NAME_LAST_SCALE_TIME
public static final String SERIALIZED_NAME_OBSERVED_GENERATION
public V1HorizontalPodAutoscalerStatus currentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
@Nullable public Integer getCurrentCPUUtilizationPercentage()
public void setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
public V1HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas)
public Integer getCurrentReplicas()
public void setCurrentReplicas(Integer currentReplicas)
public V1HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas)
public Integer getDesiredReplicas()
public void setDesiredReplicas(Integer desiredReplicas)
public V1HorizontalPodAutoscalerStatus lastScaleTime(OffsetDateTime lastScaleTime)
@Nullable public OffsetDateTime getLastScaleTime()
public void setLastScaleTime(OffsetDateTime lastScaleTime)
public V1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration)
@Nullable public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2021. All rights reserved.