Package org.cdk8s.plus24.k8s
Class PodDisruptionBudgetSpecV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.PodDisruptionBudgetSpecV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
PodDisruptionBudgetSpecV1Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodDisruptionBudgetSpecV1Beta1
@Stability(Stable) @Internal public static final class PodDisruptionBudgetSpecV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodDisruptionBudgetSpecV1Beta1
An implementation forPodDisruptionBudgetSpecV1Beta1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.PodDisruptionBudgetSpecV1Beta1
PodDisruptionBudgetSpecV1Beta1.Builder, PodDisruptionBudgetSpecV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PodDisruptionBudgetSpecV1Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by thePodDisruptionBudgetSpecV1Beta1.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)IntOrStringgetMaxUnavailable()An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e.IntOrStringgetMinAvailable()An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e.LabelSelectorgetSelector()Label query over pods whose evictions are managed by the disruption budget.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(PodDisruptionBudgetSpecV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodDisruptionBudgetSpecV1Beta1.Builder.
-
-
Method Detail
-
getMaxUnavailable
public final IntOrString getMaxUnavailable()
Description copied from interface:PodDisruptionBudgetSpecV1Beta1An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".- Specified by:
getMaxUnavailablein interfacePodDisruptionBudgetSpecV1Beta1
-
getMinAvailable
public final IntOrString getMinAvailable()
Description copied from interface:PodDisruptionBudgetSpecV1Beta1An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".- Specified by:
getMinAvailablein interfacePodDisruptionBudgetSpecV1Beta1
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:PodDisruptionBudgetSpecV1Beta1Label query over pods whose evictions are managed by the disruption budget.A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods. In policy/v1, an empty selector will select all pods in the namespace.
- Specified by:
getSelectorin interfacePodDisruptionBudgetSpecV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-