@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V1beta1PodDisruptionBudgetStatus extends Object
Modifier and Type | Field and Description |
---|---|
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 |
---|
V1beta1PodDisruptionBudgetStatus() |
Modifier and Type | Method and Description |
---|---|
V1beta1PodDisruptionBudgetStatus |
currentHealthy(Integer currentHealthy) |
V1beta1PodDisruptionBudgetStatus |
desiredHealthy(Integer desiredHealthy) |
V1beta1PodDisruptionBudgetStatus |
disruptedPods(Map<String,org.joda.time.DateTime> disruptedPods) |
V1beta1PodDisruptionBudgetStatus |
disruptionsAllowed(Integer disruptionsAllowed) |
boolean |
equals(Object o) |
V1beta1PodDisruptionBudgetStatus |
expectedPods(Integer expectedPods) |
Integer |
getCurrentHealthy()
current number of healthy pods
|
Integer |
getDesiredHealthy()
minimum desired number of healthy pods
|
Map<String,org.joda.time.DateTime> |
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() |
V1beta1PodDisruptionBudgetStatus |
observedGeneration(Long observedGeneration) |
V1beta1PodDisruptionBudgetStatus |
putDisruptedPodsItem(String key,
org.joda.time.DateTime disruptedPodsItem) |
void |
setCurrentHealthy(Integer currentHealthy) |
void |
setDesiredHealthy(Integer desiredHealthy) |
void |
setDisruptedPods(Map<String,org.joda.time.DateTime> disruptedPods) |
void |
setDisruptionsAllowed(Integer disruptionsAllowed) |
void |
setExpectedPods(Integer expectedPods) |
void |
setObservedGeneration(Long observedGeneration) |
String |
toString() |
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 V1beta1PodDisruptionBudgetStatus currentHealthy(Integer currentHealthy)
public Integer getCurrentHealthy()
public void setCurrentHealthy(Integer currentHealthy)
public V1beta1PodDisruptionBudgetStatus desiredHealthy(Integer desiredHealthy)
public Integer getDesiredHealthy()
public void setDesiredHealthy(Integer desiredHealthy)
public V1beta1PodDisruptionBudgetStatus disruptedPods(Map<String,org.joda.time.DateTime> disruptedPods)
public V1beta1PodDisruptionBudgetStatus putDisruptedPodsItem(String key, org.joda.time.DateTime disruptedPodsItem)
@Nullable public Map<String,org.joda.time.DateTime> getDisruptedPods()
public V1beta1PodDisruptionBudgetStatus disruptionsAllowed(Integer disruptionsAllowed)
public Integer getDisruptionsAllowed()
public void setDisruptionsAllowed(Integer disruptionsAllowed)
public V1beta1PodDisruptionBudgetStatus expectedPods(Integer expectedPods)
public Integer getExpectedPods()
public void setExpectedPods(Integer expectedPods)
public V1beta1PodDisruptionBudgetStatus observedGeneration(Long observedGeneration)
@Nullable public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2020. All rights reserved.