@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-06T16:45:00.555Z[Etc/UTC]") public class V1PodDisruptionBudgetStatus extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CONDITIONS |
static String |
SERIALIZED_NAME_CURRENT_HEALTHY |
static String |
SERIALIZED_NAME_DESIRED_HEALTHY |
static String |
SERIALIZED_NAME_DISRUPTED_PODS |
static String |
SERIALIZED_NAME_DISRUPTIONS_ALLOWED |
static String |
SERIALIZED_NAME_EXPECTED_PODS |
static String |
SERIALIZED_NAME_OBSERVED_GENERATION |
Constructor and Description |
---|
V1PodDisruptionBudgetStatus() |
Modifier and Type | Method and Description |
---|---|
V1PodDisruptionBudgetStatus |
addConditionsItem(V1Condition conditionsItem) |
V1PodDisruptionBudgetStatus |
conditions(List<V1Condition> conditions) |
V1PodDisruptionBudgetStatus |
currentHealthy(Integer currentHealthy) |
V1PodDisruptionBudgetStatus |
desiredHealthy(Integer desiredHealthy) |
V1PodDisruptionBudgetStatus |
disruptedPods(Map<String,OffsetDateTime> disruptedPods) |
V1PodDisruptionBudgetStatus |
disruptionsAllowed(Integer disruptionsAllowed) |
boolean |
equals(Object o) |
V1PodDisruptionBudgetStatus |
expectedPods(Integer expectedPods) |
List<V1Condition> |
getConditions()
Conditions contain conditions for PDB.
|
Integer |
getCurrentHealthy()
current number of healthy pods
|
Integer |
getDesiredHealthy()
minimum desired number of healthy pods
|
Map<String,OffsetDateTime> |
getDisruptedPods()
DisruptedPods contains information about pods whose eviction was processed by the API server
eviction subresource handler but has not yet been observed by the PodDisruptionBudget
controller.
|
Integer |
getDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
|
Integer |
getExpectedPods()
total number of pods counted by this disruption budget
|
Long |
getObservedGeneration()
Most recent generation observed when updating this PDB status.
|
int |
hashCode() |
V1PodDisruptionBudgetStatus |
observedGeneration(Long observedGeneration) |
V1PodDisruptionBudgetStatus |
putDisruptedPodsItem(String key,
OffsetDateTime disruptedPodsItem) |
void |
setConditions(List<V1Condition> conditions) |
void |
setCurrentHealthy(Integer currentHealthy) |
void |
setDesiredHealthy(Integer desiredHealthy) |
void |
setDisruptedPods(Map<String,OffsetDateTime> disruptedPods) |
void |
setDisruptionsAllowed(Integer disruptionsAllowed) |
void |
setExpectedPods(Integer expectedPods) |
void |
setObservedGeneration(Long observedGeneration) |
String |
toString() |
public static final String SERIALIZED_NAME_CONDITIONS
public static final String SERIALIZED_NAME_CURRENT_HEALTHY
public static final String SERIALIZED_NAME_DESIRED_HEALTHY
public static final String SERIALIZED_NAME_DISRUPTED_PODS
public static final String SERIALIZED_NAME_DISRUPTIONS_ALLOWED
public static final String SERIALIZED_NAME_EXPECTED_PODS
public static final String SERIALIZED_NAME_OBSERVED_GENERATION
public V1PodDisruptionBudgetStatus conditions(List<V1Condition> conditions)
public V1PodDisruptionBudgetStatus addConditionsItem(V1Condition conditionsItem)
@Nullable public List<V1Condition> getConditions()
public void setConditions(List<V1Condition> conditions)
public V1PodDisruptionBudgetStatus currentHealthy(Integer currentHealthy)
public Integer getCurrentHealthy()
public void setCurrentHealthy(Integer currentHealthy)
public V1PodDisruptionBudgetStatus desiredHealthy(Integer desiredHealthy)
public Integer getDesiredHealthy()
public void setDesiredHealthy(Integer desiredHealthy)
public V1PodDisruptionBudgetStatus disruptedPods(Map<String,OffsetDateTime> disruptedPods)
public V1PodDisruptionBudgetStatus putDisruptedPodsItem(String key, OffsetDateTime disruptedPodsItem)
@Nullable public Map<String,OffsetDateTime> getDisruptedPods()
public void setDisruptedPods(Map<String,OffsetDateTime> disruptedPods)
public V1PodDisruptionBudgetStatus disruptionsAllowed(Integer disruptionsAllowed)
public Integer getDisruptionsAllowed()
public void setDisruptionsAllowed(Integer disruptionsAllowed)
public V1PodDisruptionBudgetStatus expectedPods(Integer expectedPods)
public Integer getExpectedPods()
public void setExpectedPods(Integer expectedPods)
public V1PodDisruptionBudgetStatus observedGeneration(Long observedGeneration)
@Nullable public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2022. All rights reserved.