@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V2beta2HorizontalPodAutoscalerStatus extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CONDITIONS |
static String |
SERIALIZED_NAME_CURRENT_METRICS |
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 |
---|
V2beta2HorizontalPodAutoscalerStatus() |
Modifier and Type | Method and Description |
---|---|
V2beta2HorizontalPodAutoscalerStatus |
addConditionsItem(V2beta2HorizontalPodAutoscalerCondition conditionsItem) |
V2beta2HorizontalPodAutoscalerStatus |
addCurrentMetricsItem(V2beta2MetricStatus currentMetricsItem) |
V2beta2HorizontalPodAutoscalerStatus |
conditions(List<V2beta2HorizontalPodAutoscalerCondition> conditions) |
V2beta2HorizontalPodAutoscalerStatus |
currentMetrics(List<V2beta2MetricStatus> currentMetrics) |
V2beta2HorizontalPodAutoscalerStatus |
currentReplicas(Integer currentReplicas) |
V2beta2HorizontalPodAutoscalerStatus |
desiredReplicas(Integer desiredReplicas) |
boolean |
equals(Object o) |
List<V2beta2HorizontalPodAutoscalerCondition> |
getConditions()
conditions is the set of conditions required for this autoscaler to scale its target, and
indicates whether or not those conditions are met.
|
List<V2beta2MetricStatus> |
getCurrentMetrics()
currentMetrics is the last read state of the metrics used by this autoscaler.
|
Integer |
getCurrentReplicas()
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen
by the autoscaler.
|
Integer |
getDesiredReplicas()
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last
calculated by the autoscaler.
|
org.joda.time.DateTime |
getLastScaleTime()
lastScaleTime is the 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()
observedGeneration is the most recent generation observed by this autoscaler.
|
int |
hashCode() |
V2beta2HorizontalPodAutoscalerStatus |
lastScaleTime(org.joda.time.DateTime lastScaleTime) |
V2beta2HorizontalPodAutoscalerStatus |
observedGeneration(Long observedGeneration) |
void |
setConditions(List<V2beta2HorizontalPodAutoscalerCondition> conditions) |
void |
setCurrentMetrics(List<V2beta2MetricStatus> currentMetrics) |
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_CONDITIONS
public static final String SERIALIZED_NAME_CURRENT_METRICS
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 V2beta2HorizontalPodAutoscalerStatus()
public V2beta2HorizontalPodAutoscalerStatus conditions(List<V2beta2HorizontalPodAutoscalerCondition> conditions)
public V2beta2HorizontalPodAutoscalerStatus addConditionsItem(V2beta2HorizontalPodAutoscalerCondition conditionsItem)
public List<V2beta2HorizontalPodAutoscalerCondition> getConditions()
public void setConditions(List<V2beta2HorizontalPodAutoscalerCondition> conditions)
public V2beta2HorizontalPodAutoscalerStatus currentMetrics(List<V2beta2MetricStatus> currentMetrics)
public V2beta2HorizontalPodAutoscalerStatus addCurrentMetricsItem(V2beta2MetricStatus currentMetricsItem)
@Nullable public List<V2beta2MetricStatus> getCurrentMetrics()
public void setCurrentMetrics(List<V2beta2MetricStatus> currentMetrics)
public V2beta2HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas)
public Integer getCurrentReplicas()
public void setCurrentReplicas(Integer currentReplicas)
public V2beta2HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas)
public Integer getDesiredReplicas()
public void setDesiredReplicas(Integer desiredReplicas)
public V2beta2HorizontalPodAutoscalerStatus lastScaleTime(org.joda.time.DateTime lastScaleTime)
@Nullable public org.joda.time.DateTime getLastScaleTime()
public void setLastScaleTime(org.joda.time.DateTime lastScaleTime)
public V2beta2HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration)
@Nullable public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2020. All rights reserved.