@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-06T08:58:17.566Z[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.
|
org.joda.time.DateTime |
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(org.joda.time.DateTime lastScaleTime) |
V1HorizontalPodAutoscalerStatus |
observedGeneration(Long observedGeneration) |
void |
setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage) |
void |
setCurrentReplicas(Integer currentReplicas) |
void |
setDesiredReplicas(Integer desiredReplicas) |
void |
setLastScaleTime(org.joda.time.DateTime 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(org.joda.time.DateTime lastScaleTime)
@Nullable public org.joda.time.DateTime getLastScaleTime()
public void setLastScaleTime(org.joda.time.DateTime lastScaleTime)
public V1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration)
@Nullable public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2020. All rights reserved.